I’m having quite some trouble with a web I’m trying to develop.
It’s a mixture of css, javascript and html. I’m having a fading background (javascript), and the content (html tables imported from photoshop) driven by div tags. But the problem is that the table’s cells are floating in browser due to Position:relative.
I’ve changed it to position: absolute, and also written the exact dimensions: width and height in px, but it still won’t work!
Sorry if I’ve posted this in the wrong forum division!
Hello xogg,
You have html table layout driven by DIV tags? How does that work? Do you mean a hybrid site? If you post a link, it’s much more helpful. Or at least cut and paste your HTML and CSS.
zogg, since you are a newbie, I hope you don’t mind me saying that you should never lay out your pages with tables. The best way to lay out pages is with CSS styling and free your layout of tables. Yes, it does mean that you don’t have the ease of automation out of Photoshop, but in the long run, you can do things with CSS only that you couldn’t do with tables, like position whole images, rather than slicing them up, and being able to overlap images and so on, and that’s just the design advantage, nevermind accessibility setbacks that table layouts cause etc. etc.
Having said all that, can I ask, are you attempting to center your table? What do you mean by “floating in the browser?”
Unfortunately, the code you posted just presents a blank page if we run it in our borwsers, because much of the content (images mainly) aren’t available.
Thanks a lot for your responses.
@ sdt76: Well I’m not quite familiar yet with CSS, so I’ll just have to stick with photoshop for a while! I’m actually trying to push my table on the top left of the browser, but for some reason, the table extends its height to 100% (rather then stay to it’s original height:760px), and this I think is making the cells to float on the browser in order to achieve the 100% of it; but yet I can’t find which piece of code is allowing the table to do so.
or in http://rrenja.org/New%20Folder/index2.html
(please don’t mind the table alignment here, and I haven’t changed the root folder for it’s content), the background image will show only as long as the table height. I’'m not being able to make the bg img to show fullscreen.
I can’t see the issue either. For me, on Mac/Chrome I am able to see the table at a set height with a full background. What browser are you testing in, where you are seeing this?
I’m testing it on Chrome, IE and Firefox, but attached is the img how the web should look (I’ve just changed the bg a bit in this version), and when opened in browsers, the links on the left are floating (if it’s showing the same thing to you, then the text should be inside the boxes with the lines deleted, not lower or higher), and yes, I’m gonna change the text with embedded word htms so the users can change them easily.
Thanks a lot!
xogg
Edit: Added img of how its showing at my screen (Untitled.jpg)
It needs more space between the top and where the box begins. It looks like it needs about 50px space between the top and where the large box begins to align the image with the text with that box.
yeah, but the buttons on the left are still floating, and the title (“kush”) is far from the text. In the original design, it’s supposed to be right above it.
But if this one doesn’t work out, then is there a chance to just make the bg of this link go fullscreen rather then have the height of the table: http://rrenja.org/New%20Folder/index2.html