|
|||||||
| Programming, Coding, (Web)Design Discuss all your programming or design needs with likeminded people. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Just One Sick-Lizard
Join Date: Jul 2002
Location: Bristol, UK
Posts: 501
Rep Power: 0 ![]() |
Help XHTML 1.0
Ok having my first play with xhtml! have put up main page up just working out layout & so on...But my problem is I have a left hand content panel which when the font is increased on the site(via a javascript function), the left panel starts obscurring the banner...I know it probably its something silly but I've been looking at the code to much today & have code blindness lol & notepad help is no good lol
![]() Please someone take a look www.louie.org.uk and no smart remarks as its no where near finished
__________________
|
|
|
|
|
|
#2 |
|
DriverHeaven Lover
Join Date: Aug 2002
Location: Slovenia
Posts: 249
Rep Power: 0 ![]() |
In your CSS for this block you have set to position it absoluteley and have given it a specified position from top.
|
|
|
|
|
|
|
|
Just One Sick-Lizard
Join Date: Jul 2002
Location: Bristol, UK
Posts: 501
Rep Power: 0 ![]() |
Cheers
strangely enough whilst drunk friday night, thought I might need to make it an absolute....can't belive I was thinking of code...truly sad
__________________
|
|
|
|
|
|
#4 |
|
A Legend in Underwear
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 0 ![]() |
Why don't you support sans or sans-serif as the default font and/or in the font combo? I really hate sites that "force" fonts and their sizes on me - so I really like your option to adjust size
__________________
Gentoo Linux - Developer (baselayout) Read my blog "I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." Stephen Roberts |
|
|
|
|
|
|
|
Just One Sick-Lizard
Join Date: Jul 2002
Location: Bristol, UK
Posts: 501
Rep Power: 0 ![]() |
Yeah I like the font changer..quite nice piece of script...will add san's & a couple of others in a bit. just trying to convert to xhtml is taking me an age(whilst trying to work)
trying to sort this out atm : <form action="http://www.google.com/custom" method="get"> <INPUT TYPE="text" name="q" size="15" maxlength="35" value=""/> <INPUT type=submit name=sa VALUE="Go"> <INPUT type=hidden name=cof VALUE="GIMP:#000000;T:##FFFF00;LW:468;ALC:#FFFF00; L:logos/dilberttwo.gif;GFNT:#FFFF00;LC:#9900CC;LH:60;BGC:# 000000;AH:center;VLC:#9900CC;GL:2;S:http://www.louie.org.uk;GALT:#FFFF00...37887796ef987;"> <input type=hidden name=domains value="google.co.uk"> and making a large mess
__________________
|
|
|
|
|
|
|
|
Just One Sick-Lizard
Join Date: Jul 2002
Location: Bristol, UK
Posts: 501
Rep Power: 0 ![]() |
Its a day for breaking things doh..bloddy java & css
__________________
|
|
|
|
|
|
#7 | |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Quote:
Code:
<form action="http://www.google.com/custom" method="get">
<input type="text" name="q" size="15" maxlength="35" value="" />
<input type="submit" name="sa" value="Go" />
<input type="hidden" name="cof " value="GIMP:#000000;T:##FFFF00;LW:468;ALC:#FFFF00;L:logos/dilberttwo.gif;GFNT:#FFFF00;LC:#9900CC;LH:60;BGC:#000000;AH:center;VLC:#9900CC;GL:2;S:http://www.louie.org.uk;GALT:#FFFF00...37887796ef987;" />
<input type="hidden" name="domains" value="google.co.uk" />
</form>
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
|
Just One Sick-Lizard
Join Date: Jul 2002
Location: Bristol, UK
Posts: 501
Rep Power: 0 ![]() |
Ouch spent last day pulling hairs out, only to find the build of IE 5 i'm using at this workstation is knackered just spent the day rebuilding using mozilla
This is like pulling teeth atm
__________________
|
|
|
|
|
|
#9 |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
The validator at W3C's site is good for finding bugs. Use it.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
|
Just One Sick-Lizard
Join Date: Jul 2002
Location: Bristol, UK
Posts: 501
Rep Power: 0 ![]() |
Quote:
![]() Anyway I'm happier with layout final bit a tweaking...thinking about having links & perfs menus locked, so that when you scroll the page they follow along, anyone know of a good site showing examples of such mechanisms let me me know, preferebly using css1/2
__________________
|
|
|
|
|
|
|
#11 |
|
DriverHeaven Lover
Join Date: Aug 2002
Location: Slovenia
Posts: 249
Rep Power: 0 ![]() |
Just set a style="position: fixed" for a menu block that you want to be fixed. Or put a corresponding style information into separate CSS file.
|
|
|
|
|
|
#12 | |
|
BSD SMASH!
Join Date: May 2002
Location: A rabbit hole. . .
Posts: 1,170
Rep Power: 0 ![]() |
Quote:
Of course, that's not true in this case, but you get the idea.
__________________
quad (FreeBSD/amd64 8-CURRENT): Intel Q6600 - Asus P5E-VM HDMI - 2x2 GB Kingston PC6400 DDR2 Ram - Seagate 320GB 7200RPM HD - 2xSeagate 1TB 7200RPM HD in RAID 1 via ZFS - Lite-On 20x DVD Multi Recorder - Coolermaster Centurion 5 router (FreeBSD/amd64 8-CURRENT): Intel E4500 - Intel D945GCNL - 2 GB PC6400 Mushkin Ram - Lite-On 48x24x48x16 - Seagate 320GB 7200RPM HD - Silverstone SST-SG02-F wanderer (FreeBSD/i386 7-CURRENT): Lenovo Thinkpad T61p mini (OS X 10.5): Intel Core 2 Duo @ 1.8Ghz, 4 GB Mushkin PC5400 Ram - Headroom MicroDAC Portable sound: Rockboxed iPod Video -> Westone UM2's Not-So-Portable Sound: Headroon MicroDAC -> Singlepower PPX3-SLAM -> Grado RS-1's or Beyerdynamic DT-880's Very-Not-Portable-Sound: Squeezebox v3 -> Denon AVR-1507 -> B&W 683's & Sunfire HRS-10 |
|
|
|
|
|
|
|
|
|
Just One Sick-Lizard
Join Date: Jul 2002
Location: Bristol, UK
Posts: 501
Rep Power: 0 ![]() |
More Help!
Quote:
....Nearly happy with the layout Just couple of things still working on...I'm trying to put my Nav links & Prefs Menus into a seperate page, which is callled into the main site pages (without using server side includes, as my host dosen't support em!) much like you reference a style sheet within a page. Can this be done! it seems like it should be easy and would cut down on bandwidth usage, as well as making it easyier to update the site...HELP!
__________________
|
|
|
|
|
|
|
#14 |
|
DriverHeaven Lover
Join Date: Aug 2002
Location: Slovenia
Posts: 249
Rep Power: 0 ![]() |
Hm maybe it can be done with using OBJECT tag of type text/html in the main page. I haven't tried this yet (always used server side includes) but I think it should work.
|
|
|
|
|
|
#15 |
|
A Legend in Underwear
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 0 ![]() |
Not AFAIK. Can you use a scripting language like PHP?
__________________
Gentoo Linux - Developer (baselayout) Read my blog "I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." Stephen Roberts |
|
|
|
|
|
|
|
Just One Sick-Lizard
Join Date: Jul 2002
Location: Bristol, UK
Posts: 501
Rep Power: 0 ![]() |
QUOTE]Originally posted by UberLord
Not AFAIK. Can you use a scripting language like PHP? [/QUOTE] Apparently the Zeus Server does support side includes....but I've managed to kill it somehow trying...doh If you visit : http://www.magicmushroom.pwp.blueyonder.co.uk/ or http://www.louie.org.uk/ the page is downloaded If you visit: http://www.magicmushroom.pwp.blueyon...uk/index.shtml or http://www.louie.org.uk/index.shtml The page displays fine: getting a bit stumped my .htaccess looks like this atm..which I think should work fine? DirectoryIndex index.shtml index.htm ErrorDocument 403 http://error.blueyonder.co.uk/403.html ErrorDocument 404 http://error.blueyonder.co.uk/404.html ErrorDocument 500 http://error.blueyonder.co.uk/500.html AddType text/x-server-parsed-html .shtml (edit) now placed a redirect in there pointing to a working server(with nasty banner aarrh) untill I can figure out whats going on here
__________________
Last edited by Louie6666; Aug 21, 2003 at 05:27 PM. |
|
|
|
|
|
|
|
Just One Sick-Lizard
Join Date: Jul 2002
Location: Bristol, UK
Posts: 501
Rep Power: 0 ![]() |
Yippee just fixed it
![]() .htaccess now looks like this: ErrorDocument 403 http://error.blueyonder.co.uk/403.html ErrorDocument 404 http://error.blueyonder.co.uk/404.html ErrorDocument 500 http://error.blueyonder.co.uk/500.html AddType text/x-server-parsed-html .shtml AddType text/x-server-parsed-html .htm DirectoryIndex index.shtml index.htm Now to try & sort server side includes a last lol
__________________
|
|
|
|
![]() |
| Thread Tools | |
|
|