|
-
May 8th, 2007, 04:01 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] [2005] Height inside a contentplaceholder
Hey, I'm working on my first site with a master page, and i'm trying to get a div inside the contenplaceholder to have a height of 100% or from the bottom of the banner to the bottom of the page. Is there a way to make the contentplaceholder stretch the length of the page?
Using VB6 or VB.net 2008 with .net 3.5
"Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad
-
May 9th, 2007, 10:31 AM
#2
Re: [2005] Height inside a contentplaceholder
ContentPlaceHolders do not have a height or width. They are not html elements and are simply used for design purposes. Since the default in 2005 is FlowLayout, dimensions are adjusted based content.
If you really need to see them in a wysiwyg fashion, switching to Grid Layout might help (sorry i don't remember how to do that) or set the dimensions of the placeholder's parent/container element (but I don't think Height affects placeholders).
-
May 9th, 2007, 01:49 PM
#3
Re: [2005] Height inside a contentplaceholder
(sorry i don't remember how to do that)
Tools-> Options-> HTML Designer (in the TreeView) -> CSS Positioning. Now in the right pane, check the first checkbox. Sorry, don't remember the exact statement.
-
May 9th, 2007, 04:35 PM
#4
Thread Starter
Fanatic Member
Re: [2005] Height inside a contentplaceholder
Thanks for responding. What i ended up doing was wrapping the the content placeholder in a div and using CSS to make it look like i wanted. Took me awhile to figure out how to get the div to 100% height but with a little help i got there.
lol i'm really not sure why i didn't think of it yesterday, guess it had been a long day.
thanks again.
Using VB6 or VB.net 2008 with .net 3.5
"Life... death... either way I'll be confined to a small cubicle!" - Hermes Conrad
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|