• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

HTML Commands

Piett

...will circle this city
#1
I'm trying to figure out how to trim some of the extra space on an html file that i am currently using. i'm using the file as my active desktop file, and when i add it to my desktop i can't get rid of some of the dead space that appears on the right of the menu's that i have. is there some sort of parse, or trim command that will snap the margin to the longest point? if any one knows what command to add, and where to add it to get rid of the extra space on the right, please don't hesitate to post it.

Thanks,
Piett
 
#2
Not really sure what you mean. There aren't really any "commands" in HTML. Do you mean a table is too wide? Maybe a screenshot would clear things up. :)
 
#3
dunno for sure but do you mean the margins of the html file... If so then put the following code in the body tag:

topmargin="0" leftmargin="0"
 

albybum

Penguin Rancher
#6
If you wanted to use this ability for web pages and not just active desktop elements you could use
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0"> and those last two attributes of the body tag would eliminate the space in Mozilla based browsers.

However, none of those attributes are supported in the current version of HTML and they are not XHTML compliant.

If you wanted to get this effect and still be in the good, you need to use a stylesheet and use the code:

BODY {
margin-left: 0px;
margin-right: 0px;
margin-top: 0px;
margin-bottom: 0px;
}
 

SPeedY_B

I may actually be insane.
#7
The file is going to be placed on an Active Desktop therefore won't be rendered with Mozilla and doesn't need to comply to XHTML standards.

Still, a valid point a good tip :happy:
 

Piett

...will circle this city
#8
thanks for the replies everyone, appreciate it. okay, i'm attaching a acreenie (don't ask me why i didn't at first :)). The trouble area is over on the right-hand side. there is too much space there for me to fit the menu's down beside my picture. if i change and have the menu's horizontal (like here) there is no excess space on any side of the menu.

NOTE: Attached screenshot is the problematic one.
 

Piett

...will circle this city
#9
i should also point out that i have experimented with changing the values of some of the varriables that are in the script that i am using to no avail. that is what makes me believe that i need to use some sort of tags
 

madmatt

Bow Down to the King
Political User
#10
although it may not appear that that much space is needed, using those kinds of menus usually results in the layers (or div tags) taking up more room than it appears. you can try adding a <div style="width: 100; height: 100; autoflow type tag, but I would leave it as is and just expand the active desktop window to allow it to have the space it wants.
 

Members online

No members online now.

Latest posts

Latest profile posts

Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,015
Latest member
evaiwhitis