![]() |
WEBMASTER THREAD: who needs some CSS tips?
Post away!
i am willing to help out if its general questions, not here to fix you entire page :winkwink: |
quick one:
<link rel="stylesheet" href="www.domain.com/css.css" type="text/css" /> <!--[if lte IE 6]><style type="text/css" media="all">@import "www.domain.com/ie6.css";</style><![endif]--> <!--[if gt IE 6]><style type="text/css" media="all">@import "www.domain.com/ie7.css";</style><![endif]--> put this is your header if there is small differences in IE and you need to change up margins etc. you dont need an entire new style sheet for each new called in css file, you only need to replace the div that are different for ie and ie will read it. :thumbsup |
always use your h1-h6 tags for main titles.
also always put main txt in <p></p> paragraph holders. |
for a repeating style always use <div class=""></div>
for individual divs use <div id=""></div> |
can you or somebody help direct me on how i can insert a 950width x 140height header into my asian porn blog -> www.asian-blogs.com please
pretty please :) |
when doing padding and margins use this format:
padding: 10px 5px 5px 5px; the order goes: padding: top right bottom left; when you have a padding of: padding: 10px 0px 0px 0px; the "px" is not needed take out the "px" on 0's and it becomes: padding: 10px 0 0 0; |
Quote:
in the css file: #header { width: 950px; height:140px; float:left; } if you want to center it: #header { width: 950px; height:140px; float:left; margin: 0 auto; } if it end up aligning wrong and tucking next to a div do: #header { width: 950px; height:140px; float:left; margin: 0 auto; clear:both; } so then in the page its: <div id="header">content here</div> |
thanks Meta Man, i'll try to figure it out based on what you said, in a couple hours (gotta head out now)
thx thx! :) |
proper way to list text:
font: normal 22px Helvetica, arial, sans-serif; css is all about short form and keeping everything compressed as possible, always think of this when planning out a page. |
Quote:
i just cant go through everyone pages for free and do it hehe. but i dont mind helping if its an obvious answer. :winkwink: |
CSS is that newfangled shit that doesn't really work, so real webmasters just make everything 100% flash but they pepper the code with unused variables for SEO purposes.
|
Quote:
html is dead. and anyone still doing there pages in it is behind times. |
Quote:
Also, Don't throw away Dean's "IE7", yet. |
Quote:
css is all powerful |
Quote:
|
All times are GMT -7. The time now is 02:07 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123