This is a discussion on "[SOLVED] image behind sub nav bar" within the Web Page Design section. This forum, and the thread "[SOLVED] image behind sub nav bar are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] image behind sub nav bar
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] image behind sub nav bar
I am having issues putting a image behind the sub nav bar, I can make it work in Joomla but not in my web page, also I have no idea how to centralize the main header, every thing I try just puts it in a list in the centre, can some one please help?
http://www.lightex.co.uk/south/ in Joomla: http://www.lightex.co.uk/south/cms/index.php Last edited by acrikey; Oct 22nd, 2007 at 17:37. |
|
|
|
#2
|
||||
|
||||
|
Re: image behind sub nav bar
You will need to use CSS for this... This thread explains it: http://www.webforumz.com/html-forum/...reamweaver.htm.
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#3
|
|||
|
|||
|
Re: image behind sub nav bar
It is using css hence the attached css file
|
|
#4
|
||||
|
||||
|
Re: image behind sub nav bar
Well why do you have this:
<img src="images/banner.png" alt="" width="145" height="599" />... Surely this code added to your sub menu would work?
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#5
|
|||
|
|||
|
Re: image behind sub nav bar
It sits below the nav buttons though, not behind
|
|
#6
|
||||
|
||||
|
Re: image behind sub nav bar
Do you want it to be below the nav buttons, or behind? You are confusing me. What i have showed you should put it behind....
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#7
|
|||
|
|||
|
Re: image behind sub nav bar
That's the way it looks for me
The code marc has supplied you would put in the div which holds the navigation so in your case you need to add that css to the div with the id leftcolumn |
|
#8
|
|||
|
|||
|
Re: image behind sub nav bar
That has done nothing, it is still sitting below even with the changes
|
|
#9
|
||||
|
||||
|
Re: image behind sub nav bar
Can we see the updated code, please? You must be doing somthing wrong.... Mind you, it doesnt help the way you have named your classes.
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#10
|
|||
|
|||
|
Re: image behind sub nav bar
here it is
|
|
#11
|
|||
|
|||
|
Re: image behind sub nav bar
According to this -
You dont need to call the image at all in the HTML. As Marc suggested you need is this in your CSS
Edit - Sorry you posted while I was posting. Back in a mo...... Last edited by Nortus; Oct 23rd, 2007 at 11:03. |
|
#12
|
|||
|
|||
|
Re: image behind sub nav bar
Ok it is in the css and removed from he html and the image has disappeared completely
|
|
#13
|
|||
|
|||
|
Re: image behind sub nav bar
I made a boo boo -
should have put
|
|
#14
|
|||
|
|||
|
Re: image behind sub nav bar
Did you specify a width and height in your CSS? The background image will be clipped by the element's dimensions; so if you apply it to a zero-area element, then it will "disappear".
|
|
#15
|
|||
|
|||
|
Re: image behind sub nav bar
ok I think I need to but how, sorry still learning css
|
|
#16
|
|||
|
|||
|
Re: image behind sub nav bar
Every time I think I have got it, I get stumped by another problem
|
|
#17
|
||||
|
||||
|
Re: image behind sub nav bar
If you would like to go into Thread Tools -> Mark Thread as Solved - that would be great!
Cheers, Marc
__________________
Marc Staff Manager - Webforumz.com Want to be a moderator? PM me. |
|
#18
|
|||
|
|||
|
Re: image behind sub nav bar
but it's not solved yet
|