hi I am trying to create a two-column layout using XHTML and CSS. I'm having a problem having the text in the second column start at the top of the column. How do I make sure that the text will go to the top of the second column? I don't get any reply from web site design company 's forum .I am registered with site.If u got my problem,Give relevant solution. Thanks in advance.
You linked to a site which is flagged as spam site and if anybody links to that site using post your post will also get flagged as spam. I removed the link and made the post public
Ok from reading the post are you trying to add 2 frames? If that is the problem look below. If not please tell explain again to me lol. Two add two frames do this. Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Help you</title> <frameset rows="50%,50%"> <frame noresize="noresize" src="frame_a.htm"> <frameset cols="100%"> <frame noresize="noresize" src="frame_b.htm"> </frameset> </frameset> </head> <body> </body> </html> That is in HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Help you</title> </head> <frameset rows="50%,50%"> <frame noresize="noresize" src="frame_a.htm" /> <frameset cols="100%"> <frame noresize="noresize" src="frame_b.htm" /> </frameset> <noframes> <body> </body> </noframes> </frameset> </html> That is in XHTML. For this to work you have to make two new files by the name of frame_a.htm and frame_b.htm. To add CSS into them add the tag that links your XHTML to the CSS file. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Help Me!</title> <link rel="stylesheet" href="myfirststyle.css" type="text/css" /> </head> <body> </body> </html>
Sorry for the previous post something happened. Can you please add this onto it after. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Help Me!</title> </head> <frameset rows="50%,50%"> <frame noresize="noresize" src="frame_a.htm" /> <frameset cols="100%"> <frame noresize="noresize" src="frame_b.htm" /> </frameset> <noframes> <body> </body> </noframes> </frameset> </html> For this to work you have to create two new files named frame_a.htm and frame_b.htm. If you want to link a CSS file to that add this in the head tag. Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Help ME!</title> <link rel="stylesheet" href="myfirststyle.css"> </head> <body> </body> </html> Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Help ME!</title> <link rel="stylesheet" href="myfirststyle.css" type="text/css" /> </head> <body> </body> </html> The first code tags are XHTML then HTML and same with the next two. Hope I helped
Rexy your posts had some links for which your posts went into moderation and I have approved the posts. I hope they appear correct now.
Ummm not really. Something happened on my computer so it all stuffed up. Can you keep post 3 but delete 4 and 5.