Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Redesigning website entirely

Featured Replies

Hi everyone,

 

I'm looking to completely redesign my website because it's outdated and not constant with the CSS layout that I use to display my Flickr photos.

 

What I am essentially looking to do is redesign the PHP layout of my website and possible get rid of the html section unless I can make it consistent on both the HTML and PHP sections.

 

I see a TON of beautiful layouts on the internet but nothing really to display what I would like.

 

My website is pretty much a photography blog. My photos are pulled from my Flickr account using an API PHP code and on my HTML website, I update when I've posted pictures.

 

Does anyone have an idea of a template out there that would be great for me to achieve both?

 

I've done coding in HTML and CSS before so I am at intermediate level.

 

My Current Website HTML page

 

My Current Website PHP page

 

As you can see, they are completely different.

 

Any advice? I appreciate it

Edited by Clarkee

You seem confused. You don't use either PHP or HTML, you use both in conjunction with each other. PHP is a server side language, whatever server side language you use the output will always be HTML.

 

So your styling should not be affected by your server side language, you can style a page generated by PHP exactly the same as a static HTML page.

Hi everyone,

 

I'm looking to completely redesign my website because it's outdated and not constant with the CSS layout that I use to display my Flickr photos.

 

What I am essentially looking to do is redesign the PHP layout of my website and possible get rid of the html section unless I can make it consistent on both the HTML and PHP sections.

 

I see a TON of beautiful layouts on the internet but nothing really to display what I would like.

 

My website is pretty much a photography blog. My photos are pulled from my Flickr account using an API PHP code and on my HTML website, I update when I've posted pictures.

 

Does anyone have an idea of a template out there that would be great for me to achieve both?

 

I've done coding in HTML and CSS before so I am at intermediate level.

 

My Current Website HTML page

 

My Current Website PHP page

 

As you can see, they are completely different.

 

Any advice? I appreciate it

  • Author

You seem confused. You don't use either PHP or HTML, you use both in conjunction with each other. PHP is a server side language, whatever server side language you use the output will always be HTML.

 

So your styling should not be affected by your server side language, you can style a page generated by PHP exactly the same as a static HTML page.

 

I apologize. I do seem to be completely confused.

 

I am using HTML as my index (main website) and PHP as my photography blog where all my Flickr coding is so that all my sets and photos can be displayed.

 

As you can see from the links I posted, I use PHP and an index for my photography blog. So when you're on the HTML site, you click the 'Photography' link, it take you to a PHP page. Is this okay to use?

 

I found a template and I tried using the CSS layout on my HTML and it works great, but on the PHP, it works terribly.

 

Here are screenshots of the new template (which I probably won't be using, but just to show you an example).

 

HTML LAYOUT

PHP LAYOUT

  • Author

So I have been completely confused and went about this the wrong way. I've gotten A LOT farther now but I am still running into an issue.

 

I have uploaded pictures as examples to better explain myself.

 

For the HTML page, it displays like this. I have a DIV box that I put the PHP code in (you'll see it in the code) that will allow the PHP to be displayed.

 

How my website looks

 

After inserting the PHP code, It displays like this.

 

HTML/PHP ERROR

 

What I am trying to achieve is having the layout properly, and then everything just populating in the DIV code that I'm using.

 

Code is below. Do I have the PHP inserted incorrectly?

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Clarke Computing</title>

<link href="Website/new/style.css" rel="stylesheet" type="text/css" />

</head>

 

<body>

<div id="topbar">

<div id="TopSection">

<h1 id="sitename"><a href="#"><i>Clarke Computing</i></a></h1>

<div id="topbarnav"> <span class="topnavitems"></span></div>

<ul id="topmenu">

<li class="active"><a href="Website/new/index.html">Home</a></li>

<li><a href="Website/new/blog.html">Blog Entries</a></li>

<li><a href="Website/new/photo.php">Photography</a></li>

</ul>

</div>

</div>

 

</div>

<div id="contents">

<div class="clear"></div>

<p>

 

<?php

require_once(dirname(__FILE__) . '/admin/flogr.php');

?>

 

</div>

<div class="clear"></div>

</div>

</div>

<div id="footer"></div>

<div id="copyright">© Clarke Computing | 2011 | All Rights Reserved </div>

</div>

</div>

</body>

</html>

Edited by Clarkee

  • Author

I have actually figured it out and was able to get everything laid out correctly.

 

Thank you brightonmike for your help.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.