| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#11
| |||
| |||
| If your head is broken you should wrap it like this: < div id="bandage"> < head> … < /head> < /div> But if it isn't broken, don't wrap it at all. Just out of curiosity, what is a fotter? |
|
#12
| |||
| |||
| Thanks Ill try to work with it a little.. Right now im trying to figure out why the relative position "test element 1" enlarge the cell where ther shud be room enough and why the absolute position "test element 2" jumps out of both the table and the bodywrapper div, i have to style the bodywrapper relative, thought i woud inherit that frome the pagewrapper? <http://home19.inet.tele.dk/jgom/test/index.html> |
|
#13
| |||
| |||
| In article <BC8611CF191D26DBF4BF1DD61380A1CE@in.webcrossing.l a2eafNXanI>, "Murray" <forums@HAHAgreat-web-sights.com> wrote: > This means if you have a relatively positioned element with > top:300px;height:100px, it will appear where you expect, but it will leave a > 100px tall hole in the rendered code at its original location. I have often wondered where that could be useful - beats me. -- Cheers Martin |
|
#14
| |||
| |||
| Why do you need to do things this way? Thats a long story... But i can try to make it short.. I have been ask if i can setup a template for some ads on a site, and there are some rules i must follow all the ads are made in editors like BBedit and they are made by peapol that dont know/or have to know mutch about html coding The way the ads have been made so far (since 1999) is with tables in tables intabels ... (The boss hase many opinion on why this shud be god) One simply copy/paste tables and fill in the content in them (actualy ther ar a table for eatch paragraph) there ar being made over 1000 ads/pages the old way a year Take a look at <http://www.job-support.dk/ads/show.asp?id=85924> For a long time i have been saying that this can be done more simple with far less tabels and inline styles (using more css) only adding inlinestyles if neede. And finaly with the new CTO i have the change to do this So my quest is to make a basic template for all the ads that are being made. This mens it have to very simple, but stil very flexible, so the ads makers easy can set up the ads almost as they are use to (copy pasting code) , but using far less tabels. and have a better overview of the code The plan/ideer is that the ad designer setup the tables the need (by simply adding and cells cols and rows) and remove those they dont need, head bodys and footer (ther will also be some difrent basic tables to chose frome) the part of absolutly placde elements in the tables is simply to have that option if it shud be nececery. I know it sound a little wierd, but i can only be better than what it alredy is. Hope this makes sens, and give an ideer of what im trying to do. |
|
#15
| |||
| |||
| A little more Abouth the border ... why use a spacer gif ?? Well the company hase manytimes befor seen that the code has been "stolen" Other company simple copy the whole page and use them on ther own pages... (They have won severel lawsutes on this) By using absolute URL in the code and have eatch ads using its own spacer gif, the company can change that to the company logo, and mess up the ads on the other companys site and show eg the company logo insted. That posibility they like to keep, to some degree ;-P |
|
#16
| |||
| |||
| Janet Just out of curiosity, what is a fotter? Sorry for my bad english :-) Fotter = Footer = the bottom part of the page ;-) |
|
#17
| |||
| |||
| It's not so much useful as something you need to be aware of. In general, I don't find much use for the top/right/bottom/left position values on relatively positioned elements ever. -- Murray |
|
#18
| |||
| |||
| Murray: It is more for the posebility of position of absolute elements i want... in the head body and footer part ;-) (And if it was posible to place them acording to the cells) I am also curios aboth the things descipted in post 11 |
|
#19
| |||
| |||
| Jesper: > It is more for the posebility of position of absolute elements i want... > in the head body and footer part ;-) (And if it was posible to place them > acording to the cells) You do not need absolute positioning to place things accurately on a page. Absolute positioning is better used occasionally for special purposes than for standard layout methodology. I rarely see layouts that would require the use of absolute positioning. Anymore, the only times I use it is when I am adding something to a site I built years ago using tables, where the table infrastructure would not support the placement I need. Rather than rebuilding the page and its 'framework', I can just use an absolutely positioned container.... > I am also curios aboth the things descipted in post 11 Sorry - which one is that? -- Murray |
|
#20
| |||
| |||
| Absolute positioning is better used occasionally for special purposes That is exatly what i need it for... Normaly there will be no use for it, but once in a vile there can be. And thats what i want to make possible from the start so. the page is going to be a start template for minimum 1500-2000 different pages a year. eatch of those are being build specialy to the costumers wishes. so if a costumer pages for some reson requires a absolute positioning somewhere it will be posible (easy) to do. The company special is to make jobads that look as close as posible to the ads the costumers have in the newspapers, and/or are design to match the the job and costumer and job. Some of those can be rather complex. So the goal is to make a tamplate that can be used for as manny ads as posible, without the designer having to do mutch more than setting the ad and filling in the content. and dont need more that setting some simple styles (colors, widths, align and so) Hope this makes sens > I am also curios aboth the things descipted in post 11 Sorry - which one is that? This one Jesper Møller, "Page layout in CSS (multiple questions)" #11, 26 Jul 2008 6:52 am </webx?14@@.59b5f1d6/10> (question 1 ther must be because i haven set widt?) |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.