|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Image fine in Firefox, clipped in IE 7
Basic, I know. I've probably just been staring at this thing too long. The building image to the right of the navbar displays correctly in Firefox, and has its top clipped off in IE 7 (not caring at this point about 6).
Hmm... I guess I can't post a link. Crumbs. Well, not sure if its even possible to get help with this thing but maybe describing it with code will make the solution pop to my head. I'm doing a quick rebuild of palladio-tours .com to sort of bring the code into this millennia. In my first run through using Firefox to check (mistake) I changed the navbar to a horizontal text CSS based <ul> underneath the Palladio Tours <img> with a <br>. Now, in Firefox this works just fine, but in IE 7 (and 6, but again, not caring at this point), the yellow-ish building to the right of the nav list is clipped off exactly above the upper boundary of the list before it. Let's see if I can post the relevant code. Html: And the relevant CSS; css Code:
I wish I could post a link to the live example. It's a file called "shell.html" in the "css-test" folder at the above site. My brain obviously has gas, any help with this fart will be appreciated! |
|
#2
|
||||
|
||||
|
Welcome to DevShed Forums, navajas.
![]() Give that <img> position:relative. You're using an incomplete doctype, so browsers are rendering the page in quirks mode, which is a bad thing. You should use a complete doctype (one that includes a URL) to get browsers to render as close to the same as possible. I recommend HTML 4.01 Strict. The doctype tells the browser which rendering mode to use for the page. Activating the Right Layout Mode Using the Doctype Declaration Fix Your Site With the Right DOCTYPE! Choosing a DOCTYPE Doctype switching Rendering Mode and Doctype Switching http://www.w3.org/QA/2002/04/valid-dtd-list.html As you found out new users are restricted from posting URLs until they have made 5 posts. You may need to get around this by leaving out the "http://" and putting a space before each ".".
__________________
Spreading knowledge, one newbie at a time. Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions IE7: the generation 7 browser new in a world of generation 8 browsers. Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around. |
|
#3
|
|||
|
|||
|
Kabong. That did it, thanks man!
Thanks for the welcome, this appears to be a nice place. I think I'll hang out! ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Image fine in Firefox, clipped in IE 7 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|