| | |
css position problems
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Hi,
I have this in my css file i have said the html to be position:abolute but it doesnt when i minimise. if i say absolute in logo same thing nothing happens and the body comes at the top of logo:
Help please!!!!!!
I have this in my css file i have said the html to be position:abolute but it doesnt when i minimise. if i say absolute in logo same thing nothing happens and the body comes at the top of logo:
HTML and CSS Syntax (Toggle Plain Text)
html { height: 100%; overflow-x: auto; position:absolute; } body { background: #F0F1F3; color: # font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif; font-size: 10px; line-height: 135%; margin: 0 auto; padding: 0; text-align: left; } #logo { padding-top: 1em; height:100%; margin:0 auto; padding-left: 28em; }
Help please!!!!!!
Last edited by sam1; Feb 19th, 2009 at 11:24 am.
•
•
Join Date: Dec 2008
Posts: 64
Reputation:
Solved Threads: 13
•
•
•
•
Hi,
I have this in my css file i have said the html to be position:abolute but it doesnt when i minimise. if i say absolute in logo same thing nothing happens and the body comes at the top of logo:
What does "nothing happens" mean? What does happen? What do you want to happen?
First, check your code with http://validator.w3.org. Once your code is error free, post the URL so we can see what happens.
•
•
•
•
HTML and CSS Syntax (Toggle Plain Text)
html { height: 100%; overflow-x: auto; position:absolute; } body { background: #F0F1F3; color: #
Incomplete rule.
•
•
•
•
HTML and CSS Syntax (Toggle Plain Text)
font-family: Verdana, Tahoma, Arial, Trebuchet MS, Sans-Serif, Georgia, Courier, Times New Roman, Serif; font-size: 10px;
That's far too small for many people to read. It is better to set the font-size to 100%.
•
•
•
•
HTML and CSS Syntax (Toggle Plain Text)
line-height: 135%; margin: 0 auto; padding: 0; text-align: left; } #logo { padding-top: 1em; height:100%; margin:0 auto; padding-left: 28em; }
Chris F.A. Johnson
http://cfajohnson.com
http://cfajohnson.com
The height attribute, applied to html and body, is rendered in different ways on different browsers, if it is rendered at all. It is usually NOT the size of the window, but the height of the entire document after rendering.
There is no reliable way to make the document render to the size of the browser window, because there are so many variants of screen resolution, browser type, operating system, and window size.
There is no reliable way to make the document render to the size of the browser window, because there are so many variants of screen resolution, browser type, operating system, and window size.
Daylight-saving time uses more gasoline
![]() |
Similar Threads
- The most famous CSS web sites galleries in the world (HTML and CSS)
- CSS template overlapping (HTML and CSS)
- CSS Brwoserresize Problems (FF+IE) (JavaScript / DHTML / AJAX)
- CSS positioning problems (HTML and CSS)
- SWF - video viewing problems - help! (IT Professionals' Lounge)
- What am i doing wrong with CSS in Firefox? (HTML and CSS)
- Layout in CSS (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Is there anybody know about the YUI library
- Next Thread: Text overlay on image using css???
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl






