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
300 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS Question 5 82
css help with menu spacing 10 46
How to position loader with CSS 3 39
CSS: How to get responsive tables to not be so spread out on desktop 5 34
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

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