- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Good day all
I know how the to get the background image to fill and move with the browser. But how do I get the links that are div tag to move with the image.
Thank you
Don’t forget to set the anchor tags as display: block; and give them the same kind of properties as the div (if you want it to span the entire div, etc.).
Sorry I am new at css. I do not know what you mean by used css animations and how do i use anchor tags.
Ok look at my site http://www.sam-c.net/ as you will see the background fits the browser but when you move the browser back and forth the links do not move with the background . So my question is how do i get the links to move with the background image.
You can’t do that as such. The background image is just that,,,a background whereas your links are in divs that have that image as their background.
I think with some time and effort it would be possible to code up a responsive design that might achieve the same effect but from examining your code it’s clear that this is a long way off for you.
I would suggest that you look at improving your basic skills before moving in that direction. A separate stylesheet and learning how to write semantic HTML would be a good place to start.
Check out some of Chris’ videos or those over on NetTuts
ok thank i will do that