Css positioning code

i was wondering if you could make your absolute cordinate (the base point) at the top right of a table instead of the top right of the page? if you need clearification as to what im asking, let me know.

heres the code i am using.

‘<’ style type=“text/css” ‘>’
iframe
{
position: absolute;
top: 75px;
left: 25px
}
‘<’ /style ‘>’

i just put the quotes around the < and > so that you could see the code. they arent in tje actual code… obviously.

thanks

=ryan

When using CSS to position an object you are positioning by page.

What you could do is put the div tag in the upper right part of a table and have no CSS positioning.

alright , thanks lost.

=ryan=

No problem, you actually don’t even need to use a div tag, but if you were planning on using z-index or something then you have to…lol.

hey lost, or anyone for that matter. is there a code to go back a page and forward a page? or do you have to have the toolbar to do so? thanks

=ryan=


<A HREF="javascript:window.back()">Go Back</A>
<A HREF="javascript:window.forward()">Go Forward</A>

Try those. (remove the spaces in between java and script, the board put that there).

hmmmm. that didnt seem to work. i might just be doin omethin stupid. i dont think so though. its ok. i canalways just free up the toolbar. thanks though.

=ryan=

http://www.candlelightcab.com/Candlelight_Cabinetry/splash.htm

thats the link to the site. if you wanna look at it

Wait, I gave you the wrong code… stupid me put window.back… 'DOH!!!

This should be it… I think :slight_smile: I didn’t test.


<A HREF="javascript:history.back();">Back</A>
<A HREF="javascript:history.forward();">Forward</A>

thanks so much man. your my hero. lol. i was typing the most random code hoping to accedently get it. lol. im slowly learning all this jazz. but, without this forum id prolly be completely lost in the world of web design. so thanks.

=ryan=

No problem, sorry for not rechecking my code before hitting submit to the reply. I coulda saved you some trouble :frowning:

I am glad you got it now though :slight_smile: