HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Adding to existing css [Solved]
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
xendistar



Joined: 08 May 2007
Posts: 32

PostPosted: Mon Oct 27, 2008 2:06 am     Adding to existing css [Solved] Reply with quote

I am re building my web site, each page calls the css file (as opposed to being on each page).

I have one particular page that has a complex table design which has its own css for the table layout. Can I just add this table css on the relevant page displaying the table while still calling the main css for the page layout and formating, will this cause problems??

I can't post links to the site as it all on my PC at the moment but this link is a link to the format of the table I want to add to my site

http://www.pmob.co.uk/temp/table-fixed-header.htm

Tim


Last edited by xendistar on Mon Oct 27, 2008 12:55 pm; edited 1 time in total
sticks464



Joined: 31 Dec 2006
Posts: 1284

PostPosted: Mon Oct 27, 2008 4:06 am     Reply with quote

You can link to two or more style sheets taking in mind that each style sheet does not have any conflicting styles that will affect the the layout.
Code:
<link href="css/main.css" rel="stylesheet" type="text/css" media="screen">
<link href="css/table.css" rel="stylesheet" type="text/css" media="screen">


Or you can import the table style sheet into the main stylesheet by adding
Code:
@import url("css/table.css");
xendistar



Joined: 08 May 2007
Posts: 32

PostPosted: Mon Oct 27, 2008 12:27 pm     Reply with quote

Thanks sticks, I have added it to the table css to the relevant page and it all seems to be working ok.

Tim
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial