![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
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. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
always use your h1-h6 tags for main titles.
also always put main txt in <p></p> paragraph holders. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
for a repeating style always use <div class=""></div>
for individual divs use <div id=""></div> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
So Fucking Banned
Industry Role:
Join Date: Feb 2001
Location: Taipei
Posts: 25,198
|
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
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; |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
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> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
So Fucking Banned
Industry Role:
Join Date: Feb 2001
Location: Taipei
Posts: 25,198
|
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! ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
Quote:
i just cant go through everyone pages for free and do it hehe. but i dont mind helping if its an obvious answer. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
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.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
Quote:
html is dead. and anyone still doing there pages in it is behind times. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Quote:
Also, Don't throw away Dean's "IE7", yet.
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
I AM WEB 2.0
Industry Role:
Join Date: Jan 2003
Posts: 28,682
|
Quote:
css is all powerful |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |