How do i make this code capable in php?

<div id="idag" align="center"><p>I dag har foreningen eksisteret i 
<%=DateDiff("yyyy",#1858-03-21#,#2014-01-01#)%>
 år og 
<% 'Noter at der er fratrukket 20 dage fra dage. Detta må korrigeres vid skudår!' %> 
<%=DateDiff("d",#2014-01-22#,now)%> dage</p></div>

grid of posts around an image

Hi!
I'm using WordPress with theme Pinbin to make a website.
It has a grid of posts, and I need to have this grid form properly around an image (to the right and below). I have the image and the grid, but it doesn't form nicely around the image as you can see: http://www.bmhdelft.nl

How do i make it work with css? If you need more info please let me know.
Thank you! Cool

Images show up in wrong place

Can someone please let me know where I went worng with this code

Its suppose to have and image on left, middle and right.

Left and right works great.... Middle image ends up on the left.

Here is the code
[

Getting my text to line up right

In the following site I have an image at the top left of the screen and a black bar that the same height in pixels as the picture but that extends all the way to the right of page. I also want to be able to place some text in the center of the black bar, so it would be half way between the image and the right side of the browser and in the middle vertically of the black bar. My problem is that when I wrap my text up in my div it goes away completely, and my bar extends past the right side of the screen creating the horizontal side bar at the bottom of browser. Any ideas?

CSS

Nav bar on the left with a responsve logo on the right

I have a navbar at the top of each page with a list of elements all with float: left; applied to them. I then have a company logo floating on the right hand side of the nav bar. The issue is that if I make the window too small, the logo will move underneath the list items, I need it to shrink in size.

I do have media queries for mobile devices, but this is when the screen is still too large for a mobile device. I may also mention that the number of items on the menu bar can change, so a media query for this is not suitable.

Syndicate content