system — 2010-02-08T19:52:23-05:00 — #1
I want to prevent the
from effecting the
which can be seen here. I want to reside the
larger then what it is and position it
ryanreese — 2010-02-08T21:19:24-05:00 — #2
I don't understand wat the question is
In the link you posted there is a #bg_sidebar and a #sidebar only..no .sidebar
luki_be — 2010-02-08T21:30:24-05:00 — #3
Ryan, i think the OP means the .bg_sidebar instead of .sidebar. But even then i don't understand the question either: preventing bg_sidebar to effect #sidebar but in which way? And position it to where?
ryanreese — 2010-02-08T21:37:57-05:00 — #4
Validate your page, HTML and CSS because I am seeing missing quotes on some class names and other invalid HTML :).
victorinox — 2010-02-09T07:01:27-05:00 — #5
You've mentioned in other posts that you're working from a Photoshop mockup. Making the mockup available for viewing will help with this and other problems as it'll show what you're aiming for.
system — 2010-02-09T09:18:58-05:00 — #6
I want the class: bg_sidebar not to effect the id: sidebar. If I set a width and height for the class: bg_sidebar it ends up scaling the id: sidebar which I don't want because I want to make the class: sidebar just a background image.
phillip_davies — 2010-02-09T09:50:58-05:00 — #7
Sounds a bit like your doing something odd?
If you dont want the id: sidebar to scale then set a height/width in the css and overflow: hidden. That should stop the class sidebar pushing the id sidebar down/accross.
Although if your just adding a background image you could just apply it to sidebar id? Also you have set the sidebar class height and width but not the sidebar id height?
If you have a jpg of what your trying to do that would be ideal as I think you might be making things harder on yourself with your html / css!
luki_be — 2010-02-09T09:52:19-05:00 — #8
In the link you provided, the class has a background color set on it, a width and a height. If you don't want the div to be effected by the dimensions, just remove the width and height from the class. Is that what you want?
phillip_davies — 2010-02-09T09:55:24-05:00 — #9
^^ that as well, but then your background-image would only show when you put content inside sidebar-div so it depends what you want it to do?
luki_be — 2010-02-09T13:49:47-05:00 — #10
Correct but i was working with his code so don't know if he wants a background-image or color..... and so we're back to the beginning it seems
ryanreese — 2010-02-09T18:04:55-05:00 — #11
You could set a min-height to have it at least the background images height, and if it has enough content it wil expand to suite
luki_be — 2010-02-09T18:37:08-05:00 — #12
Let's just wait until we get the definitive word from the OP
ryanreese — 2010-02-09T18:38:14-05:00 — #13
We can still offer stuff so when he comes back he won't have to wait for an answer
luki_be — 2010-02-09T19:00:07-05:00 — #14
I agree ... i love solving puzzles and riddles :rofl:
system — 2010-02-11T11:39:35-05:00 — #15
My ID Sidebar is now moving when I adjust the position of the class sidebar, which I don't want to happen I want the original position of the ID side bar to stay where it is for now and only position the class sidebar but when I position the class:sidebar so moves the ID:sidebar
The link can be found in message #1
ryanreese — 2010-02-11T11:50:17-05:00 — #16
Hi, I'm not following you. If I increase the top margin of ".bg_sidebar" to change its' position, I don't see the sidebar moving.
Which property do you want us to change around with to see what you are seeing? Nothing I'm doing to .bg_sidebar is moving the #sidebar
phillip_davies — 2010-02-11T11:52:53-05:00 — #17
can you provide an image of what you are trying to achive?
Its hard to advise as everything you are telling the class bg_sidebar and the id sidebar in the css is happening? you have set a margin top to both class bg_sidebar and id sidebar?
The main thing that will cause an issue is that id sidebar is floated right which usually causes an issue in the ie's. To fix that the right floated item must come before the left floated element in your html. Either that or just float it left as well.
ryanreese — 2010-02-11T11:54:55-05:00 — #18
Sorry to telll you but the direction of the float has nothing to do with IE bugs (except the double float margin bug, which isn't happening here)
phillip_davies — 2010-02-11T11:58:37-05:00 — #19
Ive had many a bug with float right, its pretty subtle but can really throw a spanner in the works if your going pixel detail.
ryanreese — 2010-02-11T12:00:25-05:00 — #20
If you could show me an example I'll believe you :). IE has issues with an inline element (not floated) coming before a float (FF/good browsers will show the inline and then float on the same line, but Ie needs a float to be first), but there is nothing buggy about the direction of a float.
Put up or shut up I always like to say lol (not to be rude)
next page →