..css code for title header

GK User
Wed May 18, 2011 8:11 am
Hi

I am using a component that allow me to add a title using HTML code, I have added the correct font and style to mimic the .css code for the title BUT I cannot work out how to add the line under it as well....I have attached a screen shot of what I trying to do and currently use this code to create the title:

<h3><span style="font-size: 32px; color: #aeaeae;">Marlow</span> <span style="font-size: 32px">Showroom</span></h3>

Any advise on this would be smashing!
screen_2011-05-18-2.gif
User avatar
Expert Boarder

Konrad M
Thu May 19, 2011 7:09 am
Hi
This line is a background
Code: Select all
  background: url("../images/module_header.png") no-repeat scroll 0 bottom transparent;
User avatar

GK User
Thu May 19, 2011 7:33 am
This did not work sorry to say....I used the following code but it did not add the image:

<h3><span style="font-size: 32px; color: #aeaeae; background: url("../images/module_header.png") no-repeat scroll 0 bottom transparent;">Head</span> <span style="font-size: 32px">Office</span></h3>
User avatar
Expert Boarder

Konrad M
Thu May 19, 2011 7:35 am
Can you give us url to your site ?
User avatar

GK User
Thu May 19, 2011 7:41 am
The site is not live yet so I cannot give the URL...is the code I added correct in its format?
User avatar
Expert Boarder

Konrad M
Thu May 19, 2011 10:35 am
Code looks good but you need add height and width rules I think. But why you don't use css files ? It is better to have it in one file ;)
User avatar

GK User
Thu May 19, 2011 10:39 am
I cant use the .css file as this is a 3rd party component and does not allow me to attach code, the only option I have is a Title Field that allows you to add HTML code....would you mind sending me the code that you think I should be using to create this style please?
User avatar
Expert Boarder

GK User
Fri May 27, 2011 9:36 am
Any update on this question please?
User avatar
Expert Boarder


cron