Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 11:24

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: html/php - how can i assign .css to a specific table ?
PostPosted: 01 Dec 2010 13:54 

Joined: 24 Sep 2007 02:12
Posts: 1114
Location: http://sethioz.co.uk
just as it says. i have a seperate .html page (NO html tags used, simple page without title, tags..etc)
i want to put it into my main page, but when i put it inside of a table, then .css file of that page will overwrite my whole page and makes chaos.

how can i assign that .css file only inside of that table ?
i know that i should use class and stuff, but im not professional html/php coder and i dont understand where i put the class and how i select it.

here's example, what i need, is to leave everything in this table. if that html source i paste in there has .css, then it would only apply inside of that table, but not on whole site (page where i put this table).

Code:
<table width="800" border="1">
  <tr>
    <td>my html page source goes here</td>
  </tr>
</table>


Top
 Profile  
 
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC [ DST ]


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 post attachments in this forum

Search for: