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
294 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
  • 2
  • 2
4 Comments
 
LVL 26

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 26

Accepted Solution

by:
skullnobrains earned 500 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now