Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 08-17-2008, 11:51 PM   #1 (permalink)
New Member
 
Join Date: Aug 2008
Posts: 10
Default Body attribute question

In the body tag, should I be setting my bg colors and text and all that like this:
<body bgcolor="?" text="?" link="?" etc..>

or like this:

<body style="color: white; background-color: black; background-image: url(blah/blahblah.jpg);" alink="#c8ffff" link="#c8c8ff" vlink="#ffc8ff">


?????¿¿¿¿¿
Zoid is offline   Reply With Quote
Old 08-18-2008, 12:38 AM   #2 (permalink)
Moderator
 
jnjc's Avatar
 
Join Date: Jun 2008
Posts: 365
Default

Technically you shouldn't do either. You should use a .css file and put your styling in it. But if you are going to use one of the two use the 'style="color: white; background-color...' method. It'll give you more constancy and make the transition to a style sheet easier....
jnjc is offline   Reply With Quote
Old 08-18-2008, 03:57 AM   #3 (permalink)
New Member
 
Join Date: Aug 2008
Posts: 10
Default

Ok thanks. I have a video on CSS here that I am going to dig into once I am finished with the HTML one, but it is a video on CSS2.....do I need to learn CSS first or does it matter?
Zoid is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 02:04 AM.


Computer Forum - TechZine - Webpage Design

 
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.