Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 189
Search took 0.73 seconds.
Search: Posts Made By: johnmerlino
Forum: HTML & CSS 04-29-2013, 10:22 PM
Replies: 1
Views: 128
Posted By johnmerlino
css borders

In the below example:

http://www.newegg.com/Laptops-Notebooks/Category/ID-223

you can see that each of the products has a bottom border that doesn't span the full width of the box. In other...
Forum: General web building 04-29-2013, 09:45 PM
Replies: 5
Views: 915
Posted By johnmerlino
ok I read up on the grid system and I understand...

ok I read up on the grid system and I understand a lot more now. But one question remains. What if you have a long column that needs to span multiple rows, are you forced to use the same number of...
Forum: General web building 04-29-2013, 07:09 PM
Replies: 5
Views: 915
Posted By johnmerlino
So this site is using a grid system. I've heard...

So this site is using a grid system. I've heard of the Blueprint and 960gs grid system, but I'm not sure when and when not to use them. ANd how do you know that site is using a CSS grid system?
Forum: General web building 04-29-2013, 05:48 PM
Replies: 5
Views: 915
Posted By johnmerlino
Check out this site: http://www.newegg.com/ ...

Check out this site:

http://www.newegg.com/

You are saying that's a two or three column layout? Scroll through the page and you will see a lot of variety. Sometimes columns on left, sometimes...
Forum: General web building 04-29-2013, 05:31 AM
Replies: 5
Views: 915
Posted By johnmerlino
css page layout patterns

I read three two css books over the weekend (CSS Missing Manual and CSS Mastery). Both covered the topic of page layuout but used the entire chapter to discuss the traditional boring two and...
Forum: HTML & CSS 04-26-2013, 10:28 PM
Replies: 2
Views: 227
Posted By johnmerlino
left: auto vs left: 0

Why is left:auto used in this code rather than left:0


#nav li ul {
position: absolute;
width: 10em;
left: -999em;
}

#nav li:hover ul {
Forum: HTML & CSS 04-26-2013, 05:10 PM
Replies: 2
Views: 100
Posted By johnmerlino
line breaks and divs

I read in several places that

"By default, browsers always place a line break before and after the <div> element."

Yet I run a simple html doc in a browser:

<div style="width: 400px;...
Forum: HTML & CSS 07-09-2012, 09:32 PM
Replies: 2
Views: 276
Posted By johnmerlino
float right and images

Let's say I have a container div with overflow: auto which also has a width of 900px. Let say I have a div set to float left with width of 400px. And another div float right of 400px. The div which...
Forum: HTML & CSS 07-09-2012, 07:31 PM
Replies: 2
Views: 210
Posted By johnmerlino
span inheritance

In this example, how come the text of the link doesn't inherit from the span?


<style>
.text-box {
color: red;
}
</style>
<span class="text-box">
<a href="#">Hello World</a>
Forum: HTML & CSS 07-09-2012, 07:25 PM
Replies: 3
Views: 367
Posted By johnmerlino
But my question is about the "current font size"....

But my question is about the "current font size". If the parent is set in pixels, not in ems, is that used as the current font size or does it bubble up to a grand parent that is in ems?
Forum: HTML & CSS 07-08-2012, 09:21 PM
Replies: 3
Views: 367
Posted By johnmerlino
parent font set with pixels and child font set with ems

If you have a parent font set with pixel and a child font set with ems, is the child font set in ems relative to the parents pixel setting?

I found this but not exactly sure what it means:

If...
Forum: HTML & CSS 07-06-2012, 03:59 PM
Replies: 2
Views: 315
Posted By johnmerlino
display: inline vs float: left

Sometimes, I see a css declaration that looks like this:

#navigation ul li {display:inline; height:30px; float:left; list-style:none;}

Now display inline forces the elements to be inline and...
Forum: HTML & CSS 06-30-2012, 10:24 PM
Replies: 1
Views: 513
Posted By johnmerlino
why is it necessary to apply negative margin to inline list items

Hey all,

After trying to get my tabs to work right, I ended up with this css:


#tabs ul {
list-style-type: none;
/* push list items against container*/
padding:0;
margin:0;
Forum: JavaScript programming 01-02-2012, 03:56 PM
Replies: 0
Views: 559
Posted By johnmerlino
google visualization doesn't update chart (jsfiddle example provided)

Hey all,

I want to be able to update the line chart of google visualizations.

Here is my code in question:

http://jsfiddle.net/YCqyG/5/

Click the button called "click" and suddenly chart...
Forum: HTML & CSS 06-09-2011, 08:48 PM
Replies: 2
Views: 427
Posted By johnmerlino
Floating issue in IE

Hey all,

I am having a floating issue in IE 8 with this site:

http://hllawgroup.com/home

The divs involved are the following:

#wrapper div 980px
Forum: HTML & CSS 04-17-2011, 06:31 PM
Replies: 1
Views: 627
Posted By johnmerlino
link href not finding stylesheet

Hey all,

I have a simple link tag in head tag:


<link rel="stylesheet" type="text/css" href="../public/stylesheets/application.css" />


The file is located in template.php. The directory...
Forum: PHP 04-05-2011, 04:42 PM
Replies: 2
Views: 599
Posted By johnmerlino
Problem was value attribute set to 0. If I set...

Problem was value attribute set to 0. If I set them all to 1, when that checkbox is checked, that 1 will get passed to post array.
Forum: PHP 04-05-2011, 04:11 PM
Replies: 2
Views: 599
Posted By johnmerlino
when user clicks checkbox, it's not captured in php array

Hey all,

THe problem I am having is even when I check the checbox, it still sends a value of 0 to the php array and hence nothing is ever updated:


<input type="checkbox" name="approved[1]"...
Forum: PHP 03-28-2011, 01:05 AM
Replies: 0
Views: 334
Posted By johnmerlino
trying to match a regular expression

Hey all,

I think I get these two wrong:

'blogs/([a-zA-Z0-9\-_\/])'
'blogs/categories/([a-zA-Z0-9\-_\/])'

I want the first to match something like blogs/johnmerlino but not blogs/ or not...
Forum: PHP 03-19-2011, 12:25 AM
Replies: 1
Views: 860
Posted By johnmerlino
Database design with MVC framework

Hey all,

I'm using mvc framework, where I use controllers for all my main views, such as home page, about us page, contact, etc. However, all the views contain something in common: the ability to...
Forum: PHP 03-06-2011, 08:18 PM
Replies: 5
Views: 1,881
Posted By johnmerlino
Well that took care of that problem. But now...

Well that took care of that problem. But now codeigniter is reporting this to me:

Message: Indirect modification of overloaded property User::$_ci_scaffolding has no effect

Filename:...
Forum: PHP 03-06-2011, 06:47 PM
Replies: 5
Views: 1,881
Posted By johnmerlino
Then how else can I store the parameters in an...

Then how else can I store the parameters in an instance like this:

$user = new User($this->input->post('email'),$this->input->post('password'));

This is not what I want to do:


function...
Forum: PHP 03-06-2011, 05:17 PM
Replies: 5
Views: 1,881
Posted By johnmerlino
Message: Missing argument 1/Missing argument 2 for User::__construct()

Hey all,

Using codeigniter, I create a new user object and grab the user input (email and password) from a form:


public function signup(){
$this->template->render_content('template',...
Forum: HTML & CSS 02-16-2011, 03:25 AM
Replies: 5
Views: 793
Posted By johnmerlino
Got what I want now: <style> #box { ...

Got what I want now:

<style>

#box {
background: url(left-button.png) no-repeat top left;
padding-left: 6px;
width: 351px;
}
Forum: HTML & CSS 02-16-2011, 02:56 AM
Replies: 5
Views: 793
Posted By johnmerlino
THis right here will reveal the left corner but...

THis right here will reveal the left corner but not the right corner:


<style>

#box {
background: url(left-button.png) no-repeat top left;
padding-left: 6px;
}
Showing results 1 to 25 of 189

 
Forum Jump

All times are GMT +1. The time now is 08:18 PM.