?
Solved

I have styled the h1,h2,h3,h4 for a table then pasted a header that refers to a style sheet.

Posted on 2013-05-17
4
Medium Priority
?
303 Views
Last Modified: 2013-05-17
This table is styled in the sheet referring to the h1to h4 tags.
table.NailTable
Now i have pasted a header that refers to an external style sheet with the same styles
This messes up the headers h1 to h4 tags.
I think i need to change the sheet styles so they only refer to table.
maybe something like
table.NailTable h1{ color:#000099;
      font:24px/22px Arial, Helvetica, sans-serif;
    font-weight: 600;
      text-align:center;
      }
would this be the best solution ?
The correct syntax ?
0
Comment
Question by:isnoend2001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Expert Comment

by:skullnobrains
ID: 39175497
basically, yes, if your h1 to h4 tags are inside table cells of the corresponding table(s)

then this is a little weird, but without seeing the code, it is pretty much difficult to provide better hints
0
 

Author Comment

by:isnoend2001
ID: 39175539
Thanks : skullnobrains
heres the page
http://roofgenius.com/test2.asp
0
 
LVL 27

Accepted Solution

by:
skullnobrains earned 2000 total points
ID: 39175640
there are not Hwhatever tags inside any .NailTable in the page you provided, so stating in the css files that they are in a table isa no-go

i do not see an external css included either

it is pretty unclear to me what you want and even more what does not work as expected

then as a general rule, the more precise a CSS selector is, the better priority it gets. selectors with an equivalent priority are processed in order so the last matching selector wins. you can also use the "!important" keyword if you need to override such behaviors
0
 

Author Closing Comment

by:isnoend2001
ID: 39175676
Thanks you found my problem forgot to add the link to my stylesheet
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question