Help with CSSWatch
The page is at http://www.studential.com/css.asp and the original is http://www.studential.com
The bugs are
- The location bar filling the whole width in IE and leaving a gap between the image next to it
- The footer only being at the bottom of the main column and not the bottom of the longest one
- The links on the nav bar at the top starting from just past the image above it and not front the start of the bar
Any other general CSS layout pointers would be useful too
The code seems fine, I haven't studied it the code properly but I find that CSS is very tempromental as its quite a new thing. You've used divs and the CSS properties you have used I.E 5x supports. Just have another play with the padding and margin settings to see if you can get it look better.
The BBC site is done by pure CSS now so I've been told. Its just a matter of practise,I had to make a a animated presentation in CSS which looked like powerpoint, it was a bloody nightmare but the results in the end were worth it.
Just out of intrest did u code the CSS version from scratch or did u use some sort of editor?
All done by hand, I normally use dreamweaver but only have version 4 which dosn't really handle css layouts very well.
www.robertson-i.co.uk/shop - ASP
www.robertson-i.co.uk/auction - PHP
I personaly much prefer PHP, the language is just so much nicer, as I am do C++ and Java programming in university, PHP seems so much simpler as its uses very similar syntax I also love being able to write SQL statements like this:
$query = "SELECT * FROM AuctionItems WHERE AuctionNum='$item'";
where is an in asp it would be
query = "SELECT * FROM AuctionItems WHERE AuctionNum='"&item&"'";
which is quite a bit more complex if its a large statement.
Also PHP has far more functions for it.
ASP is much more friendly with regards to where you can use session variables and response redirects though.
i have similar thought, i really like PHP i think it is very easy to learn and understand. it just seems to make more sense than ASP
Pros- VB like syntax so the code is easy to understand, easily used with Access databases which makes it easier beginers
Cons - Hosting more expensive, requires a Microsoft server (usualy) code gets messy and tedius with larger projects
Pros - Cheap (open sourcr) very nice to work with in larger projects, loads of functions, MySQL friendly and easy to make logical code. Some Object Orientation support.
Cons - Some people may find the language a bit hard to grasp if they have no prevous coding experience. Some say ASP is more secure than PHP.
I was bought up on ASP, so that's what I program in I have tried learing PHP, but seeing as my host dos'nt support it it's a bit pointless.
In the real world PHP is used because it works out quite a lot cheaper than ASP.
Actually I tell a lie, it does have PHP but you have to pay extra for mysql so is a bit useless really.