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 02-27-2007, 01:22 PM
wige's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,721
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default Image Display in Firefox - CSS

Hi everyone. I was working on a redesign of my home page, and noticed that although the image in the upper right corner of the text positions itself correctly in Internet Explorer, it overflows the next section of text (or in this case, a table in another div) when viewed in firefox. Any suggestions how I can get the image to show in the same position as it does in IE would be greatly appreciated.

The link to the test home page is http://www.ticketwarehouse.com/index2.php
__________________
The best way to learn anything, is to question everything.
Interestingly Average Security Blog
Reply With Quote
  #2 (permalink)  
Old 02-27-2007, 01:46 PM
dharrison's Avatar
Moderator
WebProWorld Moderator
 

Join Date: May 2005
Location: Essex, UK
Posts: 1,394
dharrison RepRank 3dharrison RepRank 3
Default

Hi wige

You mean the logo? Either make the border bigger or change the layer order so the grey background overlaps the logo. For example:

#sitetitleimg { z-index: 1; }
#content { z-index: 2; }

HTH
__________________
Deb Harrison
DVH Design
Essex Web Design | Web Design Blog
Reply With Quote
  #3 (permalink)  
Old 02-27-2007, 01:51 PM
wige's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,721
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default

Actually, I am looking more at the image on the right. In Internet Explorer it lines up perfectly with the right edge of the breadcrumbs above, and the div does not end until the bottom of the image (the grey line is the bottom of the div that the image and text are in.) In Firefox, the image flows past the end of the div and into the next container, and the image is down several pixels from the top of the container, and goes out the left side.

To give some more information, this seems to depend on how much space it takes to display the paragraph of text at the beginning. Firefox does not seem to expand the div container to fit the height of the image. Should it?
__________________
The best way to learn anything, is to question everything.
Interestingly Average Security Blog
Reply With Quote
  #4 (permalink)  
Old 02-27-2007, 02:47 PM
WebProWorld Veteran
 

Join Date: Mar 2006
Location: Maryland, USA
Posts: 952
weslinda RepRank 2
Default Min-Height

Easiest way is to simply define a min-height...Firefox will accept that tag for the mainstory div and you should be all set.

You may also try and set the image to display as a "block" and that may help as well.
Reply With Quote
  #5 (permalink)  
Old 02-27-2007, 02:50 PM
dharrison's Avatar
Moderator
WebProWorld Moderator
 

Join Date: May 2005
Location: Essex, UK
Posts: 1,394
dharrison RepRank 3dharrison RepRank 3
Default

Oh yeah. Oops.

Yeah as weslinda said. Or move the blue banner section down further.

HTH
__________________
Deb Harrison
DVH Design
Essex Web Design | Web Design Blog
Reply With Quote
  #6 (permalink)  
Old 02-27-2007, 03:30 PM
WebProWorld Veteran
 

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

Ya, your title area has a width of 100%.
Your content area has a width of 100% but a left position of 155px pushing this table past browser window.
You might restucture page within a container div.
Maybe make you leftbox area a width of 20% instead of 150px and content area 80%.
Just changing content to 80% makes page look fine at my resolution (800).
You could also play around with z-index and wrap your content area in another div, width 100% padding-left:155.
I assume you don't want a fixed width so you'll need to watch width of 100% plus 155px position.

Hope that helps.
Reply With Quote
  #7 (permalink)  
Old 02-27-2007, 03:36 PM
WebProWorld Veteran
 

Join Date: Mar 2006
Location: Maryland, USA
Posts: 952
weslinda RepRank 2
Default 20" lcd?

Drummin, how does it look on a 20" lcd with a width of 1680? Using 100% width designs can be a bit tough depending on the environment you are working in.

There are a lot of variables that need to be discussed when focusing on that, and that is beyond this specific issue.
Reply With Quote
  #8 (permalink)  
Old 02-27-2007, 03:49 PM
WebProWorld Veteran
 

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

weslinda you're exactly correct. Page width is up to the designer. Do you really want to go 100%?

If you view code and style sheet you will see widths are set at 100%. This was not my design.
I was just giving options within the sample given.
Reply With Quote
  #9 (permalink)  
Old 02-27-2007, 03:53 PM
WebProWorld Veteran
 

Join Date: Mar 2006
Location: Maryland, USA
Posts: 952
weslinda RepRank 2
Default Web design is so much fun...

that's the fun with web design...so much to learn, so many ways things go wrong.
Reply With Quote
  #10 (permalink)  
Old 02-27-2007, 05:12 PM
bj's Avatar
bj bj is offline
WebProWorld 1,000+ Club
 

Join Date: Apr 2005
Location: Delaware Valley, PA
Posts: 1,186
bj RepRank 2bj RepRank 2
Default

The coolest fluid width design I've ever seen was one that showed as two columns at 800 x 600 and as 5 at 1680. But I digress . . .
Reply With Quote
  #11 (permalink)  
Old 02-27-2007, 05:57 PM
mykiesee's Avatar
WebProWorld Member
 

Join Date: Aug 2003
Location: St Simons Island, Georgia
Posts: 26
mykiesee RepRank 0
Default

Try deleting that pesky

tag that is before the text near the graphic. For some reason, when I work in Dreamweaver it automatically puts the

tag there and it causes spaces in Firefox but looks OK in IE.
__________________
emsee designs, inc.
visual designs for print and the web
http://www.emseedesigns.com
Reply With Quote
  #12 (permalink)  
Old 02-27-2007, 06:14 PM
WebProWorld Veteran
 

Join Date: Mar 2006
Location: Maryland, USA
Posts: 952
weslinda RepRank 2
Default

Dreamweaver is automatic with putting information in containers. It will only do that if you hit enter by itself when inside of that div that the image is in. It's easy to remove.
Reply With Quote
  #13 (permalink)  
Old 02-28-2007, 09:33 AM
wige's Avatar
Moderator
WebProWorld Moderator
 

Join Date: Jun 2006
Location: United States
Posts: 1,721
wige RepRank 4wige RepRank 4wige RepRank 4wige RepRank 4
Default

Great! Thanks for the advice, the min-height worked perfectly. I was kind of suprised Firefox doesn't force the container to be at least as large as the image inside it.

As for the wierd widths, 150px for the side and 100% for the rest, this causes the page to display fluidly on monitors down to 14" and up to 21" (haven't found any monitors larger or smaller to test on) without the sidebar getting overly wide. When I used a percentage for the sidebar (20%-80% as suggested) on larger monitors the navigation bar gets wide and then there is a lot of wasted white space.
__________________
The best way to learn anything, is to question everything.
Interestingly Average Security Blog
Reply With Quote
  #14 (permalink)  
Old 02-28-2007, 09:45 AM
WebProWorld Veteran
 

Join Date: Mar 2006
Location: Maryland, USA
Posts: 952
weslinda RepRank 2
Default IE6

Only issue I see now is that in IE 6 you go beyond the actual frame size no matter the size of the window.
Reply With Quote
  #15 (permalink)  
Old 02-28-2007, 10:54 AM
WebProWorld Veteran
 

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

Your heading background image is still coming up short. Also check your css for duplication and conflicks. Your page itself is fairly simple and really should be restructured instead of patching. css is a mess.
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