This is a discussion on "css div percentages and loading content in specific divs" within the Web Page Design section. This forum, and the thread "css div percentages and loading content in specific divs are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
css div percentages and loading content in specific divs
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
here is the code of my page and my style sheet.
page2.htm
mystyle2.css
i learn quickly.. if anyone could assist me i would be most grateful (useful) |
|
|
|
#2
|
|||
|
|||
|
Re: css div percentages and loading content in specific divs
1. position:fixed
but sumtimes browsers dont implement it good. & yu gotta set middel hite tu xxx pixels so it wont run over bottom. 2. seo...div gooder than frames. 3. % is the "reccommended" wae tu duit. Last edited by muneepenee; Dec 24th, 2005 at 11:39. |
|
#3
|
|||
|
|||
|
Re: css div percentages and loading content in specific divs
ok well if opening links in div classes does not affect the link value in terms of seo...
could someone please give me an example bit of code that opens a link in a css div.. like a href="page.htm" ...open_in="middle css div" or something like this.. thanks. |
|
#4
|
|||
|
|||
|
Re: css div percentages and loading content in specific divs
Yes your first decision is whether to make the webpage fixed width or fluid in width. Fluid is harder to implement as things move around.
Fixed is easier you simply aim for a total width of around 770px (takes into account the scrollbar at 800x600). You could aim to support 640x480 but it will limit your space greatly and I havent seen a 14" monitor for a long time. On this page is a layout which might help you: http://www.glish.com/css/7.asp The left and right columns are fixed width and the centre expands. Or if you want all fluid columns have a look here: http://www.glish.com/css/2.asp Personally, I would stick to a fixed width design (see my site for an example) unless you have a LOT of text. If you don't have that much then you'll end up with very long lines of text and short paragraphs which isn't very nice! It's good for a foum like this or maybe a news site, but even the BBC site is fixed width. If you specify a div with a fixed height and overflow: scroll; in the css you will get a frames effect with just that div scrolling for the content. position: fixed doesn't work in IE sadly. I think there is a hack to fix this as I have seen fixed divs in action of course, try a Google search on "position: fixed; hack" or something. good luck! EDIT: I've also found if all your divs add up to 100% of the screen, one of them can be "kicked" down below the others if you resize the screen. Making them add up to 99% instead of 100% fixed it for me when I made my fluid template which can be seen here: http://www.davereederdesign.com/fluidity/ Last edited by drd; Dec 24th, 2005 at 15:49. |
![]() |
| Tags |
| css, div, percentages, loading, content, specific, divs |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| search xml content for a specific word | karloff | PHP Forum | 2 | May 8th, 2008 18:46 |
| Website Sizing with Percentages | trev21 | Starting Out | 3 | Jan 17th, 2008 19:18 |
| Problem with css content box made from divs and background images | weasel | Web Page Design | 3 | Aug 9th, 2007 22:48 |
| Loading specific flash movies for specific pages | koonkle | Flash & Multimedia Forum | 3 | May 22nd, 2007 17:23 |
| loading external content | CDT KM | Flash & Multimedia Forum | 0 | Mar 24th, 2006 09:56 |