home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Anyone know a good stylesheet reference page?

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2164
Discussions: 200,919, Posts: 2,379,036, Members: 246,286
Old March 13th, 2003, 08:44 PM   Digg it!   #1 (permalink)
Member
 
Join Date: Jan 2003
Location: England
Posts: 165
Anyone know a good stylesheet reference page?

Im really new to stylesheets and in the past ive been relying on people just to tell me exactl what to put in the style tags, but it would be nice to be able to look them up for myself

Anyone know a good reference page?

Also, can i do these things with stylesheets...
  • make it so i dont have to type cellpadding=0 cellspacing=0 every 2 minutes ><!
  • same for image border=0
  • save typing topmargin=0 bottommargin=0 leftmar... etc. on every page
Can i do all those kind of things? Ive pretty much only used stylesheets to do the cool mouseover changes link color before

Thanks.
__________________
~Fade2Grey
Fade2Grey is offline   Reply With Quote
Old March 20th, 2003, 12:19 PM     #2 (permalink)
ph34r t3h g04t
 
Whir's Avatar
 
Join Date: Oct 2001
Location: Kingsford, MI
Posts: 19,531
Blog Entries: 7
Hey F2G. I can't help you with the reference page, I've never looked as I have a 10lb book full of the stuff. But I can tell you:

To keep image borders from appearing, either define the img tag in the style sheet/header to have a border of 0, or make a class that has the border: 0 properly, eg

Code:
img { border: 0px }
or
.border0 { border: 0px }
If you use the img method, then all your images will just not have borders. If you use the class method (.border0) then you will have to add a 'class="border0"' inside of each <img> tag.

Similarly, you can do the same thing with the body tag to remove the margins.

Code:
body { margin: 0px }
or
.margin0 { margin: 0px }
This will work in the same method as it does for images above.

I have never found a way to get around the cellpadding/cellspacing deal but if I find a way, I'll be sure to post it.
Whir is offline   Reply With Quote
Old March 20th, 2003, 02:13 PM     #3 (permalink)
Member
 
bebeangel's Avatar
 
Join Date: May 2002
Location: Pearl Harbor
Posts: 57
Send a message via AIM to bebeangel
you could try Lissa Explains It All

-bebe
bebeangel is offline   Reply With Quote
Old March 21st, 2003, 10:49 AM     #4 (permalink)
Junior Member
 
Join Date: Mar 2003
Posts: 17
Here's a good tutorial on CSS.....it's got a great layout and clearly explains it: http://www.mako4css.com/
bhoberg is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2844)
Why is Khalid Sheikh Mohammed even .. (9)
Obama the Muslim (9)
Is the PSU I received dead? (10)
windows vista security holes (7)
Install XP pro and a Vista laptop ?.. (9)
HIS HD5770 graphic card question (15)
Foreign voltage (8)
A good PSU? (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
Print spooler problem (10)
New Computer wont recognize XP disc (7)
Ideal cheap graph card for PC-Gamin.. (15)
EVGA 9800 gtx help with finding a g.. (8)
Recent Discussions
Browsers wont load websites (2)
Virus Doctor Popup? (1)
Help getting around port 80 for camer.. (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (31)
Foreign voltage (8)
Dept. of HS: NSA 'Helped' Develop Vis.. (15)
windows vista security holes (7)
Install XP pro and a Vista laptop ?? (9)
EVGA 9800 gtx help with finding a goo.. (8)
Modern Warfare For the PC (32)
Problem with speed step/turbo boost? (1)
monitor will not turn on at all, (0)
Modern Warfare 2: Who Bought It? (61)
World's largest Monopoly Game using G.. (330)
Print spooler problem (10)
SIS 740 and Widescreen (8)
Baffling Problem with my CPU/MoBo's. .. (0)
Display shows 3x5 inch in middle of s.. (0)
HIS HD5770 graphic card question (15)
Best file format to play on Windows H.. (0)
PSP Go bought in Japan (0)
Asus P4G8X Mobo (3)
Need hard disk drivers (4)
windows 7 internet problem (4)
What OS for a home server? (other tha.. (1)


All times are GMT -4. The time now is 05:05 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28