HighDots Forums  

Re: Text positioning w/Styles

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Text positioning w/Styles in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dave Sisley
 
Posts: n/a

Default Re: Text positioning w/Styles - 12-14-2004 , 02:22 PM






Michael Satterwhite <satterwh.X$NO$S$PAM (AT) weblore (DOT) com> wrote:
Quote:
On my page, I'm positioning text on top of a graphic. I'm using the
following code on my page:

img src="images/plainTop.gif" border="0" alt="" /
div style="position: absolute; top:98px; font-size: small"
div style="position: absolute; left: 190px"><a href="aboutus.html">About
Us</a></div
div style="position: absolute; left: 321px"><a
href="faq.html">FAQ</a></div
div style="position: absolute; left: 415px"><a
href="stocksprings.html">Stock Springs</a></div
div style="position: absolute; left: 542px"><a href="sitemap.html">Site
Map</a></div
div style="Position: absolute; left: 655px"><a
href="resources.html">Resources</a></div
/div

This displays perfectly in both Firefox and Mozilla. In Internet Explorer,
however, the text doesn't appear at all. Would one of you experts be so
kind as to point out my error?

I'm not an expert, but what if you just used the image as the
background of a div wrapped around those things you want the image to
be underneath?

I also don't have IE, so I don't know if that would work better.

I mean something like this:

<div style="background: url(images/plainTop.gif">

<div> ... your buttons and stuff... </div>
<div> ... etc, etc... </div>

</div>

I tried it out on the page for which you posted the url and
it still seems to work in firefox.

-dave.

--
Dave Sisley
dsisley (AT) sonic (DOT) net
roth-sisley.net


Reply With Quote
  #2  
Old   
Dave Sisley
 
Posts: n/a

Default Re: Text positioning w/Styles - 12-14-2004 , 02:35 PM






Dave Sisley <dsisley (AT) sonic (DOT) net> wrote:

<snip my mostly horribly mistaken post>

Apparantly I didn't pay attention to what I was doing. My solution
doesn't work the way I thought, and of course I didn't notice until a
minute after posting it (sorry).

I wonder though, if there still isn't a way to use the banner image as
a backgound in css instead of as an element in the html to achieve
what the OP wants?

<I return to lurk-mode...>

-dave.

--
Dave Sisley
dsisley (AT) sonic (DOT) net
roth-sisley.net

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.