10,650 Topics

Member Avatar for
Member Avatar for solomon_13000

I found some reading materials about factory design pattern (parallel hierarchy) whereby a class in a hierarchy has a corresponding class in the another hierarchy. So I wrote the code as below: package com.factory3; public abstract class Subject { abstract SubjectPlanner createPlanner(); } package com.factory3; public class English extends Subject{ …

0
154
Member Avatar for sayvari

I am an Accounting Professional and would like to design a webpage for myself with the kind of services I can provide and my educational qualifications. Being an absolute novice at web designing I need some tips on how to go about designing my own. All suggestions are welcome, I …

Member Avatar for stultuske
0
814
Member Avatar for YASHASHYA

my webpage shows un neccessary height problem i firefox only, in other browser it works fine plz help me solved out it [http://techfest12.malwagwalior.com](http://www.techfest12.malwagwalior.com) this is my website i m totally confused what is the problem..?

Member Avatar for cmps
0
101
Member Avatar for navp

Hello everyone I am designing a j-query mobile app and I have set the bacground as a canvas and set it to fixed, which is causing it to display white space when i scrool down. Following is the image of the problem ![b5991988c1e4153b2f9d363fb86ea210](/attachments/small/3/b5991988c1e4153b2f9d363fb86ea210.png "align-left") Any fix for this? Thnaks for …

Member Avatar for navp
0
312
Member Avatar for navp

Whats up people So i have been trying to figure out how can i make the background be the size as the content. I am using a canvas as a background. Since i am making a j-query mobile, the content is not alot and the background goes below the footer …

Member Avatar for navp
0
240
Member Avatar for iEpic

I hate being a perfectionist it's driving me crazy. I can get it to resize to the words, but when I replace them with small 3 letter words, the design messes up and everything gets out of place. I'm a beginner and you guys are probably going to laugh at …

Member Avatar for nullptr
0
2K
Member Avatar for solomon_13000

I wrote a code to represent the factory design pattern as below: package com.factory2; public interface CreditCheck { Double creditLimit(int id); } package com.factory2; public class CreditCheckFactory { public boolean isAgencyUp(){ return true; } public CreditCheck createCreditCheck(){ if(isAgencyUp()){ return new CreditCheckOnline(); }else{ return new CreditCheckOffline(); } } } package com.factory2; …

Member Avatar for JamesCherrill
0
281
Member Avatar for T4gal

Hello, I'm trying to use conditional stylesheets to create a separate stylesheet for IE, but the stylesheets will not load for me. This is what I have: <!--[if !IE]> <link href="style.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if IE]> <link rel="stylesheet" type="text/css" href="style-ie.css" /> <![endif]--> I have also tried: <link href="style.css" rel="stylesheet" …

Member Avatar for T4gal
0
140
Member Avatar for cgull

Hello, Using codeigniter 2.1.2 and Bootstrap 2.3.1. I have just uploaded files from a local site to a live server. Somehow a div inside an accordion div gets different heights: On my local site I have this div: <div id="ui-accordion-1-panel-0" class="row ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active" style="padding: 0.5em 0px; display: …

Member Avatar for cgull
0
269
Member Avatar for while(!success)

Hey guys, I'm still in the process of learning css and I'm having issues with opacity/transparency. I have a login page with a background image. What I am trying to accomplish is to have the login elements not be transparent but sit on top of a transparent div so the …

Member Avatar for while(!success)
0
260
Member Avatar for zobadof

Hello, I'm aiming to get a footer in a footer, in a way. I need the buildings footer to stay exactly how it is, that's perfect but then footer2 needs to also be on the bottom but overlap the orginal footer. How would I go about doing this? You can …

Member Avatar for pixelsoul
0
149
Member Avatar for jelly46

The BBC built this page and it looks good. http://www.bbc.co.uk/news/business-21938085 Can anyone shed any light on how they did it? Please

Member Avatar for <M/>
0
123
Member Avatar for ranam

Hi I am building a website in which the contact us page should fetch the user current location and use his location and find the directions between his location and my business location. Is it possible? If so any pointers are appreciated

Member Avatar for <M/>
0
175
Member Avatar for solomon_13000

I wanted to verify is this a good example of a flyweight design pattern: package com.flyweight; public interface Chemical { String getName(); String getSymbol(); Double getAtomicWeight(); } package com.flyweight; import java.util.HashMap; import java.util.Map; public class ChemicalFactory { private static Map chemicals = new HashMap(); private static ChemicalFactory factory = new …

Member Avatar for ~s.o.s~
0
186
Member Avatar for saucy6969

Hello My website shows my "Boarding House Reform" button right-justified on almost all browsers except for IE. Is there anyway to make it stick to the right under the "tell us what you think" button? http://www.newtowncentre.org/ Any help would be greatly appreciated!

Member Avatar for TonyG_cyprus
0
226
Member Avatar for davy_yg

#languages {margin: -70px 0 0 820px; text-decoration:none;} #languages a:link{color:black; text-decoration:underline;} <div id="languages"><a href="../index.php">ID</a> | <a href="index.php">EN</a></div> which one is #languages a:link ? Why both of them are underline? I wonder since I only choose one of them.

Member Avatar for davy_yg
0
122
Member Avatar for Farhad.idrees

Hi guys.. i want to use arrow images in corner of my box...i m attaching pic as i want to do... http://postimg.org/image/fs7xp3a23/ currently i m not able to use image.. http://postimg.org/image/vfotqnucl/ my css is .tree li a{ border: 1px solid #ccc; padding: 5px 10px; text-decoration: none; color: #666; font-family: arial, …

Member Avatar for LastMitch
0
124
Member Avatar for littledevils326

I am creating a web page where the user and select an item by clicking on the button. The details of the item selected will be displayed in a dropbox. At the moment I can get it to update the quantity if the user selects it again. The problem which …

Member Avatar for LastMitch
0
192
Member Avatar for allifields

Hi there. So I have 2 pages with 3 divs. A content div containing a fixed sidebar div and a main div. The problem is when you're on the Index page and you click to go to the Contact page, the sidebar moves, or rather divs move, and I don't …

Member Avatar for allifields
0
232
Member Avatar for fheppell

I've set up this testing website [here](http://siteoctopus.koding.com/projects/swangarden/index.html) It has a full screen background image and a content box in the middle. How would I horizontally center the box. I'll post the html and css here as well html, body { width: 100%; padding: 0; margin: 0; } #full-screen-background-image { z-index: …

Member Avatar for fheppell
0
207
Member Avatar for Rajthilak24

I started my career as a UI developer.. My 1st task is too make HTML5 to work in all browser especially IE family... But i heard HTML5 wont support mostly in IE.. My question is... how to Make HTML5 work in old versions of Internet Explorer ?? What are roles …

Member Avatar for apnavarun
0
267
Member Avatar for ahmed.hayman

Hi would you please help me to show how to add youtube like this link http://www.youtube.com/watch?v=sqzSlbZ4BCE when i use this command <embed width="450" hight="350" src="http://www.youtube.com/watch?v=sqzSlbZ4BCE"</embed> the screen still black !!!! and i want if i can to upload video and what type should i use to play the video???

Member Avatar for JorgeM
0
143
Member Avatar for reflectbrokers

To whom it may concern I have recently launched my company's website: http://wwww.reflectbrokers.com and have run into a couple of problems: To start, I would just like to say that i am a beginner in web design and don't really have a clue how to write html, php or js …

Member Avatar for reflectbrokers
0
222
Member Avatar for kishoreaoe

hai hello. i need to do ibm-tgmc project on "employee welfare management system". it is a web basd application. i dont know how to start and what to do. please any one help me faster. and also i need to know how to connect the html pages that i have …

Member Avatar for mattster
0
68
Member Avatar for EddieC

With all this talk about cheaper laptops for the third world, it’s easy to miss how inexpensive memory has become for us members of the first. I once prophesized to a colleague that by the end of this decade, a terabyte hard drive would be available for less than US$100. …

Member Avatar for Troy III
0
538
Member Avatar for thak123

`enter code here`I am working on a jquery mobile html5 application.I have various pages with page id-"page1"... Onclick of button i want a parameter to be passed with the function on which the navigation will be taking place. for ex <input type="button" data-transition="fade" value="Next" onclick="checkIfValid('2');" data-icon="arrow-r" data-iconpos="right"> so it redirects …

Member Avatar for LastMitch
0
196
Member Avatar for zobadof

Hello, So I've managed to get the footer to stick, at long last, but now if you are on 100% or above and scroll down the footer decides to not actually stick anymore. I believe this to be the case for all browsers, and I need a fix to this …

Member Avatar for zobadof
0
3K
Member Avatar for yaragalla_mural

Hi I have some problem with body margin and unable to fix it. any help will be appreciated. Thanking you. My code is as follows `<body style="margin-left:60px;width:970px">` with the above code i am able to reduce the body width to 970px but unable to control body right margin. No matter …

Member Avatar for yaragalla_mural
0
265
Member Avatar for yaragalla_mural

hi i am develoing a webapp but in that i need to support vedio calls like google hangout, how to do this?

Member Avatar for yaragalla_mural
-1
81
Member Avatar for dalilice

Hello guys, I'm making a website and i have a problem with the images from the css file. I'm using subfolders for the website (www.domain.com/category) and i'm using css sprites for the images and i'm having problems including the images. i don't want to use absolute paths. The path to …

Member Avatar for pixelsoul
0
264

The End.