Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Site Design > Graphics & Design Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-13-2006, 05:57 PM
WebProWorld Pro
 

Join Date: Dec 2003
Location: New York
Posts: 202
technica RepRank 0
Default My CSS text won't go under my CSS positioned image!

I have a breadcrumb that I would like to go under my header graphic. I was able to do this before, but then I edited my image classes, and now the text won't go back under the graphic.
The text is supposed to look like this:
http://wethegeeks.com/wtgcenterbgheader.html
However, it looks like this:
http://wethegeeks.com/wtgcenterbgheaderimage.html
Thank you very much for your help.
__________________
Best Regards,
Becky Gessler
http://www.wethegeeks.com
Reply With Quote
  #2 (permalink)  
Old 01-14-2006, 05:45 AM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Bedfordshire, UK
Posts: 340
le_gber RepRank 0
Default

Hi there,

have a look at your site in FireFox you will see that the text has the same position in both cases - I therefore think that the text going under the image was a IE display particularity.

Try to make it work as you intended in FF and it should work fine in IE as well

Leo
Reply With Quote
  #3 (permalink)  
Old 01-14-2006, 08:37 PM
WebProWorld Pro
 

Join Date: Dec 2003
Location: New York
Posts: 202
technica RepRank 0
Default

I know the text goes above... the point is that I need to do something to get it down below.
Any thoughts?
Thanks.
__________________
Best Regards,
Becky Gessler
http://www.wethegeeks.com
Reply With Quote
  #4 (permalink)  
Old 01-15-2006, 10:56 AM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: Bedfordshire, UK
Posts: 340
le_gber RepRank 0
Default

you can add a absolute positioning to the

or <div> that sould solve this.

Cheers

Leo
Reply With Quote
  #5 (permalink)  
Old 01-15-2006, 07:39 PM
WebProWorld Pro
 

Join Date: Dec 2003
Location: New York
Posts: 202
technica RepRank 0
Default

Thanks. I did add absolute positoning, and now it pretty much works in ie yet in safari/firefox/navigator its not correct. However, I don't really care, for me it's ie or bust.
So I guess you've solved my problem :)
Thank you
__________________
Best Regards,
Becky Gessler
http://www.wethegeeks.com
Reply With Quote
  #6 (permalink)  
Old 01-20-2006, 05:50 PM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: California,USA
Posts: 373
drummin RepRank 0
Default

Put the breadcrumb text after the images.

<p align="left">[img]title.jpg[/img][img]head.jpg[/img]<span class="breadcrumb">The text here is supposed to go under the robot image... </span></p>
Reply With Quote
  #7 (permalink)  
Old 01-21-2006, 12:07 AM
WebProWorld Pro
 

Join Date: Dec 2003
Location: New York
Posts: 202
technica RepRank 0
Default

Noble effort. I tried what you said, and the text is still positioned the same exact way... under the image in IE yet above it in every other browser.
Thanks for trying...
Any other thoughts please let me know.
__________________
Best Regards,
Becky Gessler
http://www.wethegeeks.com
Reply With Quote
  #8 (permalink)  
Old 01-21-2006, 02:29 AM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: California,USA
Posts: 373
drummin RepRank 0
Default

Because you're using absolute positioning, I wouldn't "contain" the items in question.
I'd just position them where I wanted them.
Just my two cents. But that's what I'd do.

div.top {
position: absolute;
top: 0px;
left: 0px;
width: 747px;
height: 290px;
background-color: #333333;
padding: 2px;
border-top: 1px solid #000000;
border-right: 1px solid #000000;
border-left: 1px solid #000000;
z-index:1;
}
.robotimg {
position: absolute;
top:72px;
left:8px;
background: url("../images/head.jpg") no-repeat 0% 0%;
width:737px;
height:200px;
z-index:2;
}
.logoimg {
position: absolute;
top: 8px;
left: 8px;
background: url("../images/title.jpg") no-repeat 0% 0%;
width:250px;
height:56px;
z-index:2;
}
.breadcrumb {
position: absolute;
top:275px;
left:90px;
font: 11px Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;
text-decoration: none;
z-index:2;
}
---
<div class="top style1"></div>
<div class="logoimg"></div>
<div class="robotimg"></div>
<div class="breadcrumb">The text here is supposed to go under the robot image... </div>
Reply With Quote
  #9 (permalink)  
Old 01-21-2006, 11:34 PM
WebProWorld Pro
 

Join Date: Dec 2003
Location: New York
Posts: 202
technica RepRank 0
Default

You have saved my life.
I implemented your code, and it works beautifully. The only thing I changed was making the first image not a bg image, and just inserted it in the div so that way it could be a link.
The larger image does not have a link so I didn't do this... I would like to add alt text to it, but would I have to make it not a bg image again in order to do this?
But really, you have saved me so much time, I really appreciate it.
Thank you so much.

btw... this is a new link of what i'm working with:
http://wethegeeks.com/diglife/quickcam01.html
__________________
Best Regards,
Becky Gessler
http://www.wethegeeks.com
Reply With Quote
  #10 (permalink)  
Old 01-23-2006, 12:44 AM
WebProWorld Veteran
 

Join Date: Aug 2003
Location: California,USA
Posts: 373
drummin RepRank 0
Default

Glad I was able to help.
There are so many "Pro's" in this forum, it's rare for me to be able to help someone.
Most of what I know, I learned here. So keep asking for help and reading posts.
Warm Regards,
Robert
AKA
Drummin
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum
Tags: , , , , ,



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
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0