Everything posted by Tweezy
-
Relocating a div with JS
Just define the box width and height; #one { height:100px; width:100px; } etc, then add this; posistion:relative: top:100px; } Experiment with that code, i'll give a full example; #one { height:100px; width:100px; posistion:relative: top:100px; left:100px; } #two{ height:100px; width:100px; posistion:relative: top:100px; left:100px; } #three{ height:100px; width:100px; posistion:relative: top:100px; left:100px; }
-
please review my site
The templates is ugly to be honest. Learn css and try to create your own website, you should start here; http://www.w3schools.com/css/css_boxmodel.asp Good luck.
-
Form Website
In terms of the visual style of the website I much prefer the first site, the colour pallets are a lot better and I generally much prefer your fonts and design, it seems more professional (Take the navigation bar and also the logo for an example) Now then, the usability of the second site is better, mostly because of the preview which is given for the form types. I would recommend having a little script on the first page which shows the actual form just left of the dropdown menu, there is enough space! Good luck buddy!
-
Portfolio - home page
Thanks for the screenshot. Any ideas what is causing this? Thanks for the ideas, the images will be changed when the website goes live, it was just for testing purposes. I'll change the text-shadow to see what it looks like, thanks.
- Gaming forum
-
my little program
Seems very useful! I may actually use this Also, for a typography tutorial - http://blog.echoenduring.com/2010/05/13/create-beautiful-css3-typography/ Regards John
-
Portfolio - home page
The black box is meant to be there, but giving that none of you know what it is I will remove it when I put it live, just testing out the slideshow with more images, works perfectly. The only bit I like about my own design is the navigation. The text colours and seemed to of changed, looks ok though. Which version of firefox are you using? it seems to be fine on the newest one. Thanks for the comments guys.
-
Portfolio - home page
Hey guys, I'm working on my own portfolio but I've run into some issues, I know what I shall do for the rest of my pages, but I have no idea what else to put on my home page... http://tubebackgrounds.co.uk/portfolio/index.html Any constructive criticisms / ideas would be fantastic. Best regards John
-
IE8 scale filter
Hi, I've been testing out some navigation bar techniques, and I have found an awesome one that works perfectly for my website, http://tubebackgrounds.co.uk/portfolio/index.html I have yet to test it out in Firefox, Safari or Opera but it should work. Basically, I'm having some real issues with it in ie8, I can fix the rotation using some absurd microsoft filter, but the general :hover scale doesn't work, and I have been unable to find a work around. If any skilled web developer (Which I know you guys are) could give me a hand with this, that would be fantastic and I will give credits to you at the bottom of the page when the site is up and running. Best regards John
-
footer not working as it should
Aha, thank you! It is now working as it should, much appreciated!
-
footer not working as it should
Hi, I'm having some real issues with the footer on my website, for some reason it doesn't want to work! I've tried to different types but it still doesn't want to play correctly! http://tubebackgrounds.co.uk/portfolio/index2.html http://tubebackgrounds.co.uk/portfolio/index.html The footer is meant to scroll down with the content box, but you can see that doesn't! Any help would be fantastic! Thanks John
-
CSS Layout Help
From your HTML I can see that you know what a <div> is. From that we can create a website. I'll teach you what margins are, passings, width, height, borders and colours. Margins are used to position you website from the four sides. Top, Bottom, Left and right. So, If I wanted to have a 10px gap from the left, I would use this code; html <div id="wrapper"> </div> You already know this, so moving to the CSS CSS #wrapper { margin-left:10px; } This code will create a 10px gap from the left, but lets advance on this with a background colour, a border and also some dimensions for the size. CSS #wrapper { background-color:#FFFFFF width:600px; height:900px border: 1px solid #000000; margin-left:10px; } Paddings are used for content. When putting content in a div box they are automatically pushed up to the box, so having a little padding moves it away, for example CSS #wrapper { background-color:#FFFFFF width:600px; height:900px border: 1px solid #000000; margin-left:10px; padding:10px; } If you want to change the margins to you have them at the top, botton, left and right just adapt the code so it looks like this; margin-left: margin-right: margin-top; margin-bottom; I hope this helps, and for a more in-depth look at a div box, just go here; http://www.w3schools.com/css/css_boxmodel.asp
-
Best way to have a centered web page
Pretty simple really. HTML <div id="wrapper"> Website content here </div> CSS #wrapper { margin: 0 auto; width: 900px; height: 900px; } Change the width and height to your own dimensions.
-
CSS - Hiding images
Ok good news, I managed it using javascript (But only when using images) I can't seem to get it to work just using text; <li><a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block';" onclick ="javascript:hideImage()">Wipepod</a></li> Doesn't hide the image I actually get an error stating "Duplicate attributes" how can I "merge" them? I tried this; <li><a href = "javascript:void(0)" onclick = "document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block';document.getElementById('hideme').style.display='hidden'" >Wipepod</a></li> Still no anvil Edit: Changes the "hidden" to "none" seems to be hiding the images! Edit: Somehow I managed to sort it all out... Wow.
-
CSS - Hiding images
Hi, I'm creating a lightbox with information in when a link is pressed, but when I press the link the thumbnails from a little slideshow seem to get in the way. I've tried using display:none; when the lightbox is active, but I can't seem to get it to work, for example; HTML <div><a href="#6" class="cross-link"><img src="images/tempphoto-6thumb.jpg" class="nav-thumb" alt="temp-thumb" id="white_content" /></a></div> CSS .white_content:active { display:none } Well, you can see what happens here; http://client.tubebackgrounds.co.uk/thc/custom/ (Click the "Contact Us" button) Any help would be really appreciated! Best regards John Edit - just tried this .white_contect .active-thumb:active { display:none } I don't even know if I have the code correct!