This is a discussion on "CSS Relative <DIV> Size Problem" within the Web Page Design section. This forum, and the thread "CSS Relative <DIV> Size Problem are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS Relative <DIV> Size Problem
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hello,
Having a bit of an issue with my website I've recently just completed designing. The problem I'm having is to with my layout DIVs. I have sized them all relativly and poisitoned them absoloutly. The sizes are all correct and I am happy with the proportions, however when I load the page initially in IE, the DIVs scale incorreclty (always too large), until I adjust the browser size window and everything returns to normal. I remember reaidng something about this when I was developing my site, but recentyl have been unable to find the reference to it. I'm thinking it may be an IE problem because we all know how great IE is. Any help would be appreciated guys. Website URL: www.cainphotography.co.uk Style Sheet: www.cainphotography.co.uk/style.css Email: a_cain@tiscali.co.uk For clairty I have attached a screenshot of the problem: Screenshot.jpg Notice the size of the icons on the menu bar and the "Cain Photography" logo at the top. It should scale to fit between the top of the browser window and the black line at the top. Additionally it should not be pixalated. Cheers chaps. Andy Last edited by karinne; Nov 29th, 2007 at 12:33. Reason: Please attach BIG images. |
|
|
|
|||
|
Re: CSS Relative <DIV> Size Problem
First thing I would do is remove your position absolutes and position your divs in px. just had a play around in firebug and that solved most of the problems you are having.
|
|
|||
|
Re: CSS Relative <DIV> Size Problem
Also note that you have a parse error in your CSS:
Quote:
Quote:
|
|
|||
|
Re: CSS Relative <DIV> Size Problem
Thanks for the feedback guys.
That parse error....the replacement text string is the same. If I specify my DIV positioning with pixels will it still render correctly with different resoloutions? |
|
||||
|
Re: CSS Relative <DIV> Size Problem
If you look closely then you will see that one is hypenated and the other isn't
It should be fine, but if you run into any issues just coome back to us and we can help.
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: CSS Relative <DIV> Size Problem
As welshstew said it should be fine.
When the changes are complete post your link again and we will check in different browsers for you. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Size problem? :( | westy | Web Page Design | 7 | Feb 27th, 2008 22:33 |
| relative Positioning Problem | Dunce | Web Page Design | 6 | Jun 8th, 2007 10:54 |
| relative positioned layer problem | artdog | Web Page Design | 3 | Aug 2nd, 2006 11:12 |
| relative position problem | antonyx | Web Page Design | 12 | Dec 30th, 2005 21:19 |
| Stupid little TD size problem | theotherlight | Web Page Design | 2 | Aug 5th, 2005 10:17 |