CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
Getting date to line up
goalieman34
Permalink to comment
#
January 2012
Can someone help me out with getting the date to line up with the edge of the header image so that it works in all browsers.
http://www.nanaimonightlife.com
Thank you
springlab
Permalink to comment
#
January 2012
in your css find
#sectionContent5973927 {
position: absolute;
top: 14px;
left: 0px;
margin-left: 160px;
padding: 0px;
overflow: visible;
}
and then delete
left: 0px;
margin-left: 160px;
goalieman34
Permalink to comment
#
January 2012
@springlab
thank you!
springlab
Permalink to comment
#
January 2012
welcome. I only took a quick look at it, but not sure why you have that absolute positioned. However if it works let it ride for now.
Add a Comment
http://www.nanaimonightlife.com
Thank you
#sectionContent5973927 {
position: absolute;
top: 14px;
left: 0px;
margin-left: 160px;
padding: 0px;
overflow: visible;
}
and then delete
left: 0px;
margin-left: 160px;