Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: Fanta - helmikuu 05, 2005, 08:25:41 AP

Otsikko: Table - Easy Question
Kirjoitti: Fanta - helmikuu 05, 2005, 08:25:41 AP
Click for forum. (http://www.habbohood.co.uk/harrypotter/index.php)

How can I create a table (fitting the forum width) with some text in it that can go below the News and above the Maintenance Mode box?
Otsikko: Re: Table - Easy Question
Kirjoitti: Borys Pomianek - helmikuu 05, 2005, 11:58:20 IP
edit the index.profile and find the comment ( text after // ) saying that the code below is the news box.

Then just find where the code for the news box ends and add there youre own code.

Remmember that youre using xhtml not html so you need valid syntax.

like only low case names and such. If you dont know xhtml do a google search regarding creating tables with xhtml and you will find youre code. As i recall there was many pages about that.

BP
Otsikko: Re: Table - Easy Question
Kirjoitti: Fanta - helmikuu 06, 2005, 08:21:04 AP
What is the exact code I need to find and what is the code I put there to make a table?
Otsikko: Re: Table - Easy Question
Kirjoitti: Borys Pomianek - helmikuu 07, 2005, 03:35:46 IP
http://www.google.com/search?hl=en&q=tables+in+xhtml

here.

Just add that where the news box code ends. Find another comment below that code and add the needed code before the comment. Remmeber to echo it. If you dont now how to write the code there is a lnk in my psot to a google sarche concerning tables in xhtml but if absolutly dont know what it is all about i recommend jsut asking some friend to do it for you or learning basics about html and xhtml and php.

BP
Otsikko: Re: Table - Easy Question
Kirjoitti: Fanta - helmikuu 08, 2005, 04:53:58 IP
I am hopeless at coding. Can someone just tell me where to exactly place it and the code to put please?

:)
Otsikko: Re: Table - Easy Question
Kirjoitti: [Unknown] - helmikuu 08, 2005, 06:20:46 IP
No one is hopeless.  However, I do think it would help you a lot more to know some about html.

http://www.w3schools.com/html/
http://www.w3schools.com/xhtml/

-[Unknown]
Otsikko: Re: Table - Easy Question
Kirjoitti: Fanta - helmikuu 09, 2005, 12:58:57 IP
Ah well, can't be bothered. :P