Staredit Network

Staredit Network -> Computers and Technical -> Webpage Problems
Report, edit, etc...Posted by Coddox on 2006-10-26 at 23:29:54
I am currently making a web page using FrontPage 2003 and seeking some assistance.

In most websites (more like all), I notice that no matter the monitor resolution, the contents of the webpage seem centered, like there is an equal space between the beginning and end. However, in my current page, no matter the monitor resolution, the contents remain stuck to the left, which I consider a problem. How exactly do I go about solving this issue?

Report, edit, etc...Posted by Corbo(MM) on 2006-10-27 at 00:13:55
Hmm... using <center> </center> will center the content... and Using <pre></pre> (I think) lets you use the alignment you assigned to the content say... <pre>____content_____more content</pre>
he first blank spaces will normally get deleted and Content would be on left to avoid that you use the Pre tag tongue.gif.

That's basically what i could come up with in less than 1 minute.. btw.. using front page it's like using word :S

>>Can somebody be gentle and move this to programming and websites?
Report, edit, etc...Posted by Doodan on 2006-10-27 at 01:01:38
QUOTE(Corbo(MM) @ Oct 26 2006, 11:13 PM)

>>Can somebody be gentle and move this to programming and websites?

[right][snapback]579406[/snapback][/right]

Hell no!

>>Manhandles topic into Programming and websites
Report, edit, etc...Posted by Centreri on 2006-10-27 at 15:42:31
I don't think anyone here uses the visual function of frontpage to make the websites, you're better off learning the code, then we could help you.
Report, edit, etc...Posted by Coddox on 2006-10-27 at 16:53:47
So far I tried the code, but I didn't really get what I wanted. Seeing as how my wording may be a bit faulty, I threw a visualization together.

user posted image
The black box is basically the monitor set for a resoultion higher than the page size. The green box is the webpage itself. If the monitor was at a lower resolution, the green box would fit the black box.
Report, edit, etc...Posted by Syphon on 2006-10-27 at 17:01:19
Use fluid width, not fixed width.
Report, edit, etc...Posted by fatimid08 on 2006-10-27 at 17:04:57
For layouts which use tables, just put the align="center" attribute to the table tag.

If you aren't using tables, you have to wrap the whole inside of the body tag with a div tag and set the have this attribute to the div: style="margin:auto;text-align:left;". Then, you add this attribute to the body tag: style="text-align:center;"

These are the two ways I know and use to center content in the browser window. The way to center with the div tag is fancier because Internet Explorer doesn't support the right way to do it, and does it in a stupid way instead.

QUOTE
Use fluid width, not fixed width.


This is WRONG, it works with both. Fixed width is better anyway.
Report, edit, etc...Posted by Centreri on 2006-10-27 at 17:07:31
align="center" is depricated, not recommended. Other then that, Fatimid hit it on the head with a very large and heavy warhammer.
Report, edit, etc...Posted by Pie_Sniper on 2006-10-27 at 20:04:35
laugh.gif Fixed width better than fluid...
Report, edit, etc...Posted by Syphon on 2006-10-27 at 20:10:00
QUOTE(fatimid08 @ Oct 27 2006, 04:04 PM)
This is WRONG, it works with both. Fixed width is better anyway.
[right][snapback]579573[/snapback][/right]


*Syphon(MM) points and laughs.
Report, edit, etc...Posted by Centreri on 2006-10-27 at 20:18:24
Why would anyone use fixed excessively? I only use it because my site doesn't depend on resolution, but since most sites do, fixed shouldn't be used, except for height. For width, you use %s.
Report, edit, etc...Posted by fatimid08 on 2006-10-28 at 08:13:19
I use fixed only for the outer width and nav bar because I know that the layout will stay the same however I try to display my page. If I resize the browser window, it won't just screw up or get so cramped it's useless.

Anyway, the max width I use is 760 pixels, so unless you use 640x480 pixels, which my crappy video card that can't display most games from after 2001-2002 doesn't support anyway (starts at 800x600), it still displays properly.

I do use percentages in tables and main content areas you know, it's not like I'm against them either. I think we're in a huge misunderstanding here.

It seems I'm going off topic here, this is my last post about this unless Coddox posts a need for more help.
Report, edit, etc...Posted by Mp)7-7 on 2006-10-28 at 10:04:09
if you want to make really good webpages, what you should do is type it up in notepad, learn how to use html and css as a good start. xhtml and xml are good too
Report, edit, etc...Posted by Centreri on 2006-10-28 at 14:53:31
Do you even know what XML is, 7-7?

Notepad = suckz.
Report, edit, etc...Posted by Pie_Sniper on 2006-10-28 at 15:16:16
I love Notepad! sad.gif All it needs is some auto-indentation and syntax highlighting.
Report, edit, etc...Posted by Syphon on 2006-10-28 at 15:21:27
QUOTE(Pie_Sniper @ Oct 28 2006, 02:15 PM)
I love Notepad! sad.gif All it needs is some auto-indentation and syntax highlighting.
[right][snapback]579928[/snapback][/right]


Is it that hard to press tab?

Anyways, Kubuntu's notepad equivalent is perfect. Line numbers, and highlighting. <3
Report, edit, etc...Posted by Centreri on 2006-10-28 at 15:57:35
Notepad can only handle a certain number of lines, wordpad can handle infinite amount of lines.
Report, edit, etc...Posted by Pie_Sniper on 2006-10-28 at 16:10:46
You don't use XP, do you? The XP Notepad recieved many great updates, including a bottomless edit control.

I hate tabs, Syphon. tongue.gif I don't like line numbers, either.
Report, edit, etc...Posted by brutetal on 2006-10-28 at 19:01:10
lol My teacher at school told me that notepad was the most expensive html editor.
Report, edit, etc...Posted by Doodle77(MM) on 2006-10-28 at 19:34:28
Kate > gEdit when it comes to linux.
ConTEXT > Notepad on windows.
Report, edit, etc...Posted by Sicarul on 2006-10-31 at 11:27:57
QUOTE(Doodle77(MM) @ Oct 28 2006, 08:34 PM)
Kate > gEdit when it comes to linux.
ConTEXT > Notepad on windows.
[right][snapback]580005[/snapback][/right]

Kate is almost an IDE xD
Anyway, most text editors in Linux have highlighting for several languages, on Windows i use Notepad++, which has been good enough for me, but I'm on Linux most of the time anyway, and use Quanta+ for my pages, it's good stuff.

Never used ConTEXT... i guess i will try it next time i boot into Windows -sigh-.

Anyway, any text editor with syntax highlighting is good enough, but in my experience Quanta+ gave me tools no other IDE gave me, also, DreamWeaver is quite slow in my computer, Quanta+ takes a lot of resources too, but not THAT much as DW...

Stuff like parameters of a PHP function, automatic closing of tags when making them(Like, i type <table> and it automatically makes <TR><TD></TD></TR></table>) and easy access to a project's files are invaluable when dealing with big pages.

Anyway, the most valuable thing an editing tool of this type must give you is a good syntax highlighting, though, other tools are also quite valuable.

Edit: Woops, this topic wasn't about this xD sorry... anyway, i just use align="center" and it works, but if i would make something more "css-based", i guess i would try fatimid08's technique.
Report, edit, etc...Posted by Oo.Insane.oO on 2006-11-06 at 18:24:30
http://www.crimsoneditor.com/ Crimson editor is pretty good for coding and works for most types of coding
Next Page (1)