Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
Results 1 to 2 of 2
Thread: Beginner, issues with float
-
04-10-2016, 08:13 PM #1New to the CF scene
- Join Date
- Apr 2016
- Posts
- 1
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Beginner, issues with float
I'm trying to adjust the page so the icons are across the top of the page and fixed so they are always visible, but I'm having a really hard time getting them to move anywhere, let alone aligned next to each other. I only know painfully basic coding so this is a real challenge for me, any help is appreciated.
-
04-11-2016, 02:18 AM #2Master Coder
- Join Date
- Jan 2011
- Location
- Washington
- Posts
- 6,251
- Thanks
- 30
- Thanked 859 Times in 857 Posts
With code we can only guess. I used the same image 5 times
Code:<!DOCTYPE html> <html> <head> <title>Title</title> <style type="text/css"> body{ margin: 0; padding: 0; } header{ width: 150px; margin: 0 auto; } img{ float: left; padding: 5px; } </style> </head> <body> <header> <img src="images/trashcan.png" height="20" width="20"> <img src="images/trashcan.png" height="20" width="20"> <img src="images/trashcan.png" height="20" width="20"> <img src="images/trashcan.png" height="20" width="20"> <img src="images/trashcan.png" height="20" width="20"> </header> </body> </html>Evolution - The non-random survival of random variants.
Physics is actually atoms trying to understand themselves.



Reply With Quote
