"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."

Go Back   Webmaster Forums > Code Forum > CSS Forum

Reply
 
Thread Tools Rate this Webmaster Discussion
Old 04-03-2009, 09:19 AM   #1
violetb
New Member
 
Join Date: Apr 2009
Webmaster Discussions: 1
Rep Power: 9
violetb is on a distinguished road
Arrow CSS code help with external sheet

I have been trying to get the links on this sheet to move all the way over to the left in a purple bar that is vertical in a column. Please help--because I sure don't know how to do this.


body{margin : 0px;}

h1, h2, h3, h4, h5, h6 {font-family: sans-serif; colorurple;}

address {margin-left: 120px;color: purple; font-style: normal; font-size: 8pt; font-variant: small-caps;
text-align: center; clear: both; border-top: 1px purple}

#head{margin-left: 120px;float: left;text-align: right; border-bottom-color: purple ;
border-bottom-width:1px}


#links {float:left; background-color: purple; margin-left: 120px;
padding: 2px; border: 5px color purple ; position:absolute;left: 100px; top: 0px}
# links a {display:block;font-family: sans-serif; color: white; font-size: 9pt}
#links a:link {text-decoration:none}
#links a:visited {text-decoration:none}
#links a:hover {color: purple; text-decoration: none}
#links a:active {text-decoration:none}
#links a.newgroup {margin-top: 15px}

#main { margin-left: 120px width; 70%; float: left; border-left: 1px solid purple; padding-left: 10px}


violetb is offline   Reply With Quote
Old 04-03-2009, 11:47 AM   #2
jthayne
 
jthayne's Avatar
 
Join Date: Aug 2008
Location: Texas
Webmaster Discussions: 501
Rep Power: 21
jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.
Re: CSS code help with external sheet

Could you please post the relevant HTML as well? Thank you.
__________________
Be sure to click the reputation icon to give rep to the person who helped you.
For web design/development services, check Silentium Designs.
jthayne is offline   Reply With Quote
Old 04-18-2009, 03:42 AM   #3
jessicasamuel
New Member
 
Join Date: Apr 2009
Webmaster Discussions: 4
Rep Power: 9
jessicasamuel is on a distinguished road
Re: CSS code help with external sheet

Can I include Javascript for this codes?

-
Jessica Danial
Website Design Services
jessicasamuel is offline   Reply With Quote
Old 04-21-2009, 10:19 AM   #4
jthayne
 
jthayne's Avatar
 
Join Date: Aug 2008
Location: Texas
Webmaster Discussions: 501
Rep Power: 21
jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.
Re: CSS code help with external sheet

Quote:
Originally Posted by jessicasamuel View Post
Can I include Javascript for this codes?
Yes, you can use javascript to control styles. You can't place it within your external style sheet, but you can place it anywhere in your HTML to control the styles.
__________________
Be sure to click the reputation icon to give rep to the person who helped you.
For web design/development services, check Silentium Designs.
jthayne is offline   Reply With Quote
Reply

Bookmarks

Tags
code, css

Thread Tools
Rate This Thread
Rate This Thread:

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


Similar Webmaster Discussions
Thread Webmaster Discussion Starter Forum Replies Last Post
create a table along the width of the sheet laks General Discussion 1 02-15-2004 01:24 PM
Access External CSS based on Browser-Specific Country Code murrayw CSS Forum 1 09-26-2003 08:17 PM
basic css style sheet for print Bostonrose CSS Forum 2 04-23-2003 05:42 PM
inline style overuled by external sheet Jackie SENSE CSS Forum 5 04-02-2003 02:47 PM
Style sheet shortcutting - possibilities? benzden CSS Forum 9 01-01-2003 01:19 PM


All times are GMT -5. The time now is 08:55 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.