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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
remove element from displaying on mobile devices 3 70
Bootstrap 3 and Angular 2 12 48
razorCMS: Change Menu Font 4 46
How to change pointer icon to hand icon on mouseover 2 17
CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
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 define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
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…

943 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

10 Experts available now in Live!

Get 1:1 Help Now