This is a discussion on "I'm converting my pages from HTML to CSS,,, Help me!" within the Web Page Design section. This forum, and the thread "I'm converting my pages from HTML to CSS,,, Help me! are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
I'm converting my pages from HTML to CSS,,, Help me!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
I'm converting my pages from HTML to CSS,,, Help me!
Hi all,
I attached two pics, one i designed before learning CSS using table and one i'm trying to do using CSS, As you see in the first picture there is empty blue area i want to fill with the table shown in the second picture using CSS, i tried by setting margin but it did't work, the contents was shown below the webscope division. HELP PLEASE!! |
|
|
|
|||
|
Re: I'm converting my pages from HTML to CSS,,, Help me!
The CSS file is below: /*This is testing CSS on my Engineering website*/ body {background:#4682B4} div.layout{background-color:#EAF4FF;margin-right:15%; margin-left:15%;margin-top=10%;border:outset 4pt; widht:1200px} div.webscope {background: url('Images/Sydney2.jpg') no-repeat; width: 70%; height: 450px; margin-top: 5px;} div.high&know {margin-left:900px; border-left:1px solid gray; padding:1em;} .floatl{float:left} .floatr{float:right} /* TEXT STYLES*/ .f1{font:10pt italic bold arial} .f2{font:12pt arial; color:black; font-weight:bold; font-style:italic; line-height:1.5} .f3{font:8pt arial} And the page code is, <html dir="LtR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>AHM 531</title> <link rel="stylesheet" type="text/css" href="test.css" /> </head> <body> <center> <img alt="Banner" src="Images/BANNER1.bmp" height="35%" width="80%"/> </center> <div class="layout"> <marquee behavior="alternate" scrollamount="1" style="font-family: Courier New; font-size: 10pt; font-weight: bold">"Scientists discover the world that exists; Engineers create the world that never was."</marquee></font></b></p> <div class="webscope"><font class=f2> AHM 531's Scope....<br><br> AHM 531.COM aims to serve students of Civil Engineering all over the world, though most of the pages on this site are prepared especially for students in the University of Jordan.<br><br> Also this site defines Civil Engineering with all of its branches to help new students to decide whether they join Civil Engineering profession or not.<br><br> E-Books gathered from all over the net are contained within this page to provide the help and reference to students, besides lecture note provided by doctors in UJ and written by students Studying in UJ, LAB reports and Past Exams.<br><br> AHM 531 is trying to connect Civil Engineers to world wide web, so that they can reach information where ever it was, using AHM 531's Web directory you can access the most important Civil Engineering web sites. </font></div> </div> </body> </html> |
|
|||
|
Re: I'm converting my pages from HTML to CSS,,, Help me!
It would be a great help and more chance of you getting a response if you formated your html and css in the normal manner so it can be read easily. |
|
||||
|
Re: I'm converting my pages from HTML to CSS,,, Help me!
Here we go:
|
|
|||
|
Re: I'm converting my pages from HTML to CSS,,, Help me!
I haven't uploaded the page yet.
Can't any one help me here please?!! Last edited by ahm531; Sep 3rd, 2006 at 22:23. |
|
|||
|
Re: I'm converting my pages from HTML to CSS,,, Help me!
It still didn't work, and I didn't hear from you for a long time. Any comments?!!
Or is it impossible to do that |
|
|||
|
Re: I'm converting my pages from HTML to CSS,,, Help me!
There are a number of things I would like you to do with your code to bring it into line with standards which also involve getting rid of propriatory code: 1. Give it a DOCTYPE. 2. Change the charset to an ISO standard. 3. Get rid of the <center></center> tags. 4. Get rid of the <marquee></marquee> tags. 5. All styling should be handled through css. This sought of coding, <font classs=f2> is both syntactically wrong and very bad practice. 6. I'm not sure without looking it up but I think the use of the ampersand(&) in a class name is not allowed, eg., div.high&low. Take care of this sought of thing and then lets see what you have. |
|
|||
|
Re: I'm converting my pages from HTML to CSS,,, Help me!
Thanx for the advices UKGEOFF, I could handle most of them except the charset point.
I haven't heard of this before, i looked it over the net and read an article about the ISO 10646 and UNICODE on w3.org; What i couldn't get what should i use as a character encoding, and how should it be declared, the page provided three methods as I understood
And if the HTTP protocol has its default encoding, why should we determine one. It is so complicated! |
|
|||
|
Re: I'm converting my pages from HTML to CSS,,, Help me!
For the time being, stick with this method and you won't go far wrong.
|
![]() |
| Tags |
| converting, pages, html, css, help |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] converting flash to html | Posie | Starting Out | 3 | Dec 2nd, 2007 20:04 |
| [SOLVED] Converting BBcode to HTML | AdRock | PHP Forum | 10 | Oct 9th, 2007 08:53 |
| Converting from HTML to XHTML | Aaron1988 | Web Page Design | 1 | Dec 4th, 2006 15:09 |
| help with converting HTML to XHTML | sing2trees | Web Page Design | 4 | Sep 20th, 2006 03:35 |